Can not install podman and buildah together

Bug #1916120 reported by Thomas Bechtold
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
golang-github-containers-buildah (Ubuntu)
Fix Released
Undecided
Unassigned
golang-github-containers-common (Ubuntu)
Fix Released
Undecided
Unassigned
libpod (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I tried to install podman and buildah together.
I have now podman installed:

$ dpkg -l podman
[...]
ii podman 2.1.1+dfsg1-4ubuntu3 amd64

Now I try to install buildah and with that, podman will be removed:

$ sudo apt install buildah
[...]
Suggested packages:
  containers-storage
The following packages will be REMOVED:
  golang-github-containers-common podman
The following NEW packages will be installed:
  buildah
0 upgraded, 1 newly installed, 2 to remove and 0 not upgraded.
Need to get 5.736 kB of archives.

ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: podman 2.1.1+dfsg1-4ubuntu3
ProcVersionSignature: Ubuntu 5.8.0-36.40+21.04.1-generic 5.8.18
Uname: Linux 5.8.0-36-generic x86_64
ApportVersion: 2.20.11-0ubuntu59
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Fri Feb 19 08:37:18 2021
InstallationDate: Installed on 2020-12-08 (72 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
SourcePackage: libpod
UpgradeStatus: Upgraded to hirsute on 2020-12-09 (71 days ago)

Revision history for this message
Thomas Bechtold (toabctl) wrote :
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for taking your time to report this issue and help making Ubuntu better.

I can confirm this issue on Ubuntu Hirsute. When attempting to install both packages the error message indicates that the underlying problem is that buildah conflicts with golang-github-containers-common, one of the dependencies of podman. (See below for details)

I notice that all three packages have newer versions in -proposed which haven't migrated yet, though I don't know if the new releases will resolve this.

$ sudo apt install podman buildah
Reading package lists... Done
Building dependency tree
Reading state information... Done
podman is already the newest version (2.1.1+dfsg1-4ubuntu3).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 golang-github-containers-common : Breaks: buildah (< 1.18.0+dfsg1-3~~) but 1.16.6+dfsg1-2ubuntu2 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Changed in libpod (Ubuntu):
status: New → Confirmed
Changed in golang-github-containers-common (Ubuntu):
status: New → Confirmed
Changed in golang-github-containers-buildah (Ubuntu):
status: New → Confirmed
tags: added: unmetdeps
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Looks like the newer versions resolved this issue. Could you run `sudo apt update` and see if it works better now:

$ sudo apt install podman buildah
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
buildah is already the newest version (1.19.4+dfsg1-3ubuntu1).
podman is already the newest version (3.0.0+dfsg1-2ubuntu4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

(Note: it looks like installation replaced `fuse` with `fuse3`, though that seems unrelated)

Revision history for this message
Thomas Bechtold (toabctl) wrote :

Installation works now. Thanks!

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Great. I'll set status to fixed.

Changed in libpod (Ubuntu):
status: Confirmed → Fix Released
Changed in golang-github-containers-common (Ubuntu):
status: Confirmed → Fix Released
Changed in golang-github-containers-buildah (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.