Skip to content

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

@qwfys

Description

@qwfys

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions