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:

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

  • chrispokorni
    chrispokorni Posts: 1,763

    Hi @alireza1222,

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

    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

    Regards,
    -Chris

Categories

Upcoming Training