Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2826

Unable to install podman in Ubuntu 20.04 running on WSL2 in Windows 10

$
0
0

I cannot install podman following the official RedHat instructions or any other, for instance.

I always get to the same situation

diegosasw@LAP-DMARTIN:~$ sudo apt-get -qq -y install podmanE: Unable to correct problems, you have held broken packages.diegosasw@LAP-DMARTIN:~$ sudo apt-get -y install podmanReading package lists... DoneBuilding dependency treeReading state information... DoneSome packages could not be installed. This may mean that you haverequested an impossible situation or if you are using the unstabledistribution that some required packages have not yet been createdor been moved out of Incoming.The following information may help to resolve the situation:The following packages have unmet dependencies: podman : Depends: containers-common (>= 1.2.0~3) but it is not going to be installed          Recommends: crun but it is not going to be installed          Recommends: slirp4netns but it is not going to be installed          Recommends: uidmap but it is not going to be installed          Recommends: varlink but it is not going to be installedE: Unable to correct problems, you have held broken packages.

I have tried upgrading sudo apt-get upgrade and everything is up to date. Same problem. If anything I can see containers-common 1.2.0~2 installed, but never the 1.2.0.~3 (assuming that's the reason of the broken packages).

Does anybody know the cause? It is a brand new Ubuntu 20.04 distro and these are the steps followed on first run as per https://oldgitops.medium.com/setting-up-podman-on-wsl2-in-windows-10-be2991c2d443

. /etc/os-releasesudo sh -c "echo 'deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /'> /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-get update -qqsudo apt-get -qq -y install podman

And I have the following:

diegosasw@LAP-DMARTIN:~$ ls /etc/apt/sources.list.ddevel:kubic:libcontainers:stable.list

Viewing all articles
Browse latest Browse all 2826

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>