Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

podman fails to install on Ubuntu 22.04.3 #20214

Closed
jacobwdv opened this issue Sep 29, 2023 · 5 comments
Closed

podman fails to install on Ubuntu 22.04.3 #20214

jacobwdv opened this issue Sep 29, 2023 · 5 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@jacobwdv
Copy link

Issue Description

following directions on this site: https://podman.io/docs/installation

installing podman on Ubuntu 22.04 should be as easy as

# Ubuntu 20.10 and newer
sudo apt-get update
sudo apt-get -y install podman

But on my system, which is a newly deployed Ubuntu VM, I get the following error:

root@scarred1:~# sudo apt-get update
Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease [109 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1,014 kB]
Fetched 1,352 kB in 1s (961 kB/s)
Reading package lists... Done
root@scarred1:~# sudo apt-get -y install podman
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package podman is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'podman' has no installation candidate

OS Info:

root@scarred1:~# cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

Steps to reproduce the issue

Steps to reproduce the issue

  1. sudo apt-get update
  2. sudo apt-get -y install podman

Describe the results you received

podman is not installable.

Describe the results you expected

podman to be installed

podman info output

root@scarred1:~# cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

Podman in a container

No

Privileged Or Rootless

Privileged

Upstream Latest Release

Yes

Additional environment details

Additional environment details

Additional information

Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting

@jacobwdv jacobwdv added the kind/bug Categorizes issue or PR as related to a bug. label Sep 29, 2023
@afbjorklund
Copy link
Contributor

It is available in the "universe" (not in "main"), but should be enabled by default ?

https://packages.ubuntu.com/podman

It means that it is unsupported by Ubuntu, and will not receive security updates...

https://help.ubuntu.com/community/Repositories/Ubuntu

@rhatdan
Copy link
Member

rhatdan commented Sep 30, 2023

This is not an upstream issue.

@rhatdan rhatdan closed this as completed Sep 30, 2023
@jacobwdv
Copy link
Author

jacobwdv commented Oct 2, 2023

Could we update the steps in the installation guide for Ubuntu with ones that work? The site shows the steps I followed and says the package is available in official repositories for Ubuntu 20.10. Maybe it is available but it can't be installed by the steps printed.. Has anyone successfully installed on 22.04.3? if so, how?

@jacobwdv
Copy link
Author

jacobwdv commented Oct 2, 2023

The additional step would be to enable 'universe'. This command does it: sudo add-apt-repository universe

@afbjorklund
Copy link
Contributor

You can make a PR for the documentation, to suggest adding that line. It should not hurt, if already enabled.

$ sudo add-apt-repository universe
'universe' distribution component is already enabled for all sources.

https://github.com/containers/podman.io/blob/main/docs/installation.md

cdjohnson added a commit to cdjohnson/podman.io that referenced this issue Oct 6, 2023
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Jan 1, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

No branches or pull requests

3 participants