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

There is an error in the instructions for installing the latest version of podman in Ubuntu environment. #227

Open
qwfys opened this issue Oct 23, 2023 · 1 comment
Assignees

Comments

@qwfys
Copy link

qwfys commented Oct 23, 2023

There is an error in the software source configuration of the latest version of podman in the Ubuntu environment. The main problem is that the path part https://download.opensuse.org/repositories/devel:kubic:libcontainers:unstable/ in the file devel:kubic:libcontainers:unstable.list does not match the real network address. The correct network address is https://mirrorcache-us.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/.
However, apt cannot recognize the address https://mirrorcache-us.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/ very well, and an installation error will occur during the specific installation.

sudo mkdir -p /etc/apt/keyrings
curl -fsSL "https://download.opensuse.org/repositories/devel:kubic:libcontainers:unstable/xUbuntu_$(lsb_release -rs)/Release.key" \
  | gpg --dearmor \
  | sudo tee /etc/apt/keyrings/devel_kubic_libcontainers_unstable.gpg > /dev/null
echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/devel_kubic_libcontainers_unstable.gpg]\
    https://download.opensuse.org/repositories/devel:kubic:libcontainers:unstable/xUbuntu_$(lsb_release -rs)/ /" \
  | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:unstable.list > /dev/null
sudo apt-get update -qq
sudo apt-get -qq -y install podman
@Luap99
Copy link
Member

Luap99 commented Oct 23, 2023

@lsm5 PTAL

@lsm5 lsm5 self-assigned this Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants