Welcome to the Linux Foundation Forum!

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:

  1. Hit:1 http://us-central1.gce.archive.ubuntu.com/ubuntu focal InRelease
  2. Hit:2 http://us-central1.gce.archive.ubuntu.com/ubuntu focal-updates InRelease
  3. Hit:3 http://us-central1.gce.archive.ubuntu.com/ubuntu focal-backports InRelease
  4. Hit:4 https://download.docker.com/linux/ubuntu focal InRelease
  5. Hit:5 http://security.ubuntu.com/ubuntu focal-security InRelease
  6. Ign:6 https://download.opensuse.org/repositories/devel-kubic-libcontainers-stable/xUbuntu_20.04 InRelease
  7. Err:7 https://download.opensuse.org/repositories/devel-kubic-libcontainers-stable/xUbuntu_20.04 Release
  8. 404 Not Found [IP: 195.135.221.134 443]
  9. Reading package lists... Done
  10. E: The repository 'https://download.opensuse.org/repositories/devel-kubic-libcontainers-stable/xUbuntu_20.04 Release' does not have a Release file.
  11. N: Updating from such a repository can't be done securely, and is therefore disabled by default.
  12. N: See apt-secure(8) manpage for repository creation and user configuration details.

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Comments

  • Posts: 2,434

    Hi @alireza1222,

    Please try these updated installation steps, from the official podman docs:

    sudo mkdir -p /etc/apt/keyrings

    1. curl -fsSL \
    2. https://download.opensuse.org/repositories/devel:kubic:libcontainers:unstable/xUbuntu_$(lsb_release -rs)/Release.key \
    3. | gpg --dearmor \
    4. | sudo tee /etc/apt/keyrings/devel_kubic_libcontainers_unstable.gpg > /dev/null
    1. echo \
    2. "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/devel_kubic_libcontainers_unstable.gpg]\
    3. https://download.opensuse.org/repositories/devel:kubic:libcontainers:unstable/xUbuntu_$(lsb_release -rs)/ /" \
    4. | 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

    Regards,
    -Chris

  • edited April 2023

    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.

  • Posts: 2,434

    Hi @dickvanhaastrecht,

    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,
    -Chris

  • Posts: 1
    edited January 31

    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?

  • Posts: 2,434

    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 podman

    Regards,
    -Chris

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training