Cannot update podman

When I run sudo dnf update, it seems that podman cannot be updated. I got this error message:

Error: Transaction test error:
  file /usr/share/man/man5/containers-mounts.conf.5.gz from install of podman-2:2.1.1-12.fc33.x86_64 conflicts with file from package containers-common-1:1.2.0-8.fc33.x86_64

I removed podman to allow other packages to be updated. When I tried to reinstall podman, I got the same error message again. Is this a bug?

I am not sure what podman is used for. Will it be OK if my F33 does not have podman? Does that affect other packages?

1 Like

Podman is a tool to run containers, like Docker if you are familiar with it.

Error: Transaction test error:
  file /usr/share/man/man5/containers-mounts.conf.5.gz from install of podman-2:2.1.1-12.fc33.x86_64 conflicts with file from package containers-common-1:1.2.0-8.fc33.x86_64

This is because there is an update for containers-common package, but it conflicts with the podman package installed on the system. Upcoming podman update will probably solve the issue. Other people have experiencing the same issue:

https://bodhi.fedoraproject.org/updates/FEDORA-2020-e87b758d7e

2 Likes

So podman does not affect my daily usage if I do not use containers?

It doesn’t as far as I know.

1 Like

Out of curiosity, do you have the update-testing repository enabled?

1 Like

I believe so…

Discover it:
sudo dnf repolist

1 Like

I got the same error, but for containers-common. It looks like that update is mainly for updating the names of man pages! And, that’s what the error is for. I tried renaming the offending man page in containers-common, but I still get the error.

To get rid of the problem, disable

updates-testing

repo!

1 Like

My repositories include these:

repo id                         repo name
fedora                          Fedora 33 - x86_64
fedora-cisco-openh264           Fedora 33 openh264 (From Cisco) - x86_64
fedora-modular                  Fedora Modular 33 - x86_64
google-chrome                   google-chrome
rpmfusion-nonfree-nvidia-driver RPM Fusion for Fedora 33 - Nonfree - NVIDIA Driver
updates                         Fedora 33 - x86_64 - Updates
updates-modular                 Fedora Modular 33 - x86_64 - Updates
updates-testing                 Fedora 33 - x86_64 - Test Updates
updates-testing-modular         Fedora Modular 33 - x86_64 - Test Updates

I think I will disable both updates-testing and updates-testing-modular. By the way, what is the difference between updates and updates-modular?

You can find some info about modularity here: https://docs.fedoraproject.org/en-US/modularity/

1 Like

Re your repo list – offtopic

rpmfusion repos (free and non-free) provide a lot of cool stuff that is not included in Fedora (vlc, ffmpeg, audio and video codes, binary wifi drivers, …)

and, btw, chromium is in Fedora’s official repo. https://docs.fedoraproject.org/en-US/quick-docs/installing-chromium-or-google-chrome-browsers/index.html