E: ... xUbuntu_20.04 Release' does not have a Release file.
After running the following command lines:
echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable /xUbuntu_${VERSION_ID}/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
curl -L "https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/Release.key" | sudo apt-key add -
sudo apt update
getting the following error:
Hit:1 http://us-central1.gce.archive.ubuntu.com/ubuntu focal InRelease Hit:2 http://us-central1.gce.archive.ubuntu.com/ubuntu focal-updates InRelease Hit:3 http://us-central1.gce.archive.ubuntu.com/ubuntu focal-backports InRelease Hit:4 https://download.docker.com/linux/ubuntu focal InRelease Hit:5 http://security.ubuntu.com/ubuntu focal-security InRelease Ign:6 https://download.opensuse.org/repositories/devel-kubic-libcontainers-stable/xUbuntu_20.04 InRelease Err:7 https://download.opensuse.org/repositories/devel-kubic-libcontainers-stable/xUbuntu_20.04 Release 404 Not Found [IP: 195.135.221.134 443] Reading package lists... Done E: The repository 'https://download.opensuse.org/repositories/devel-kubic-libcontainers-stable/xUbuntu_20.04 Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
Comments
-
Hi @alireza1222,
Please try these updated installation steps, from the official podman docs:
sudo mkdir -p /etc/apt/keyringscurl -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/nullsudo apt-get update -qqsudo apt-get -qq -y install podmanRegards,
-Chris0 -
Good morning,
I have tried the updated installation steps but am still stuck with the following message.
E: The repository 'http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_ Release' does not have a Release file. E: The repository 'https://download.opensuse.org/repositories/devel:kubic:libcontainers:unstable/xUbuntu_20.04 Release' does not have a Release file.It seems there is no repository for the podman on ubuntu 20.04. Is it better to proceed on ubuntu 22.04 as this has podman in the repository's?
(red) I did found another tutorial on how to install podman on Ubuntu 20.04 here:
https://computingforgeeks.com/how-to-install-podman-on-ubuntu/
This did do the trick and installed podman. Still not quite sure on how to proceed on this as the messages around podman support on Ubuntu are not the best with support on the latest release.
0 -
You are correct, Ubuntu 20.04 LTS does not have a podman repository. The installation relies on the kubic repository instead.
If the commands from the lab guide are not successfully completed, then the installation will fail.
Please ensure the copy/paste generates the commands as they are presented in the lab guide.Just now, I was able to install podman 3.4.2 on Ubuntu 20.04 LTS, by following the lab guide alone.
Regards,
-Chris0 -
I am also able to install only podman 3.4.2 version on Ubuntu 20.04 LTS. I want version above 4 but unable to install each time i am getting same 3.4.2 version only. Please guide if there is any method?
0 -
Hi @himanshu9003,
Podman is only supported up to version 3.4.2 on Ubuntu 20.04 LTS. For more recent Podman releases the host OS is required to be 20.10 or newer, and the installation can be done directly from the Ubuntu package repository by simply running
sudo apt install -y podmanRegards,
-Chris0
Categories
- All Categories
- 177 LFX Mentorship
- 177 LFX Mentorship: Linux Kernel
- 755 Linux Foundation IT Professional Programs
- 375 Cloud Engineer IT Professional Program
- 170 Advanced Cloud Engineer IT Professional Program
- 74 DevOps IT Professional Program - Discontinued
- 5 DevOps & GitOps IT Professional Program
- 100 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 2 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 5 Cloud & Containers Training
- 1 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 1 Networking Training
- 2 Open Source Best Practice Training
- 2 System Administration Training
- 1 System Engineering Training
- 1 Web & Application Development Training
- 794 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 89 Storage
- 769 Linux Distributions
- 81 Debian
- 68 Fedora
- 22 Linux Mint
- 13 Mageia
- 24 openSUSE
- 150 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 112 Mobile Computing
- 20 Android
- 77 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 393 Off Topic
- 121 Introductions
- 182 Small Talk
- 29 Study Material
- 980 Programming and Development
- 310 Kernel Development
- 652 Software Development
- 995 Software
- 387 Applications
- 182 Command Line
- 5 Compiling/Installing
- 68 Games
- 317 Installation
- Archived
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)