When I run ‘rpm-ostree update’ today I got the following error: error: Checkout podman-2:2.0.1-1.fc32.x86_64: Hardlinking 70/5ee685e13938927af53a13dff8fb45a505bbac59710e4e239fc612b9e30848.file to containers-mounts.conf.5.gz: File exists
I’ve tried to rebase to testing repo (rpm-ostree rebase fedora:fedora/33/x86_64/testing/silverblue) and I get the same error.
Also, I’ve tried to reinstalling but I get the following error: error: "podman" is already provided by: podman-2:2.1.1-12.fc33.x86_64. Use --allow-inactive to explicitly require it.
I don’t know how to replaced them with the f33 corresponding version. I’ve tried to reinstalled but I get the next error:
Problem 1: cannot install both libgcc-10.2.1-9.fc33.x86_64 and libgcc-10.2.1-6.fc33.x86_64
- conflicting requests
Problem 2: cannot install both libgomp-10.2.1-9.fc33.x86_64 and libgomp-10.2.1-6.fc33.x86_64
- conflicting requests
Problem 3: conflicting requests
- package vim-minimal-2:8.2.1961-1.fc33.x86_64 conflicts with vim-enhanced < 2:8.2.1815-2 provided by vim-enhanced-2:8.2.1770-1.fc33.x86_64
- package vim-enhanced-2:8.2.2146-2.fc33.x86_64 conflicts with vim-minimal <= 2:8.2.2146-2 provided by vim-minimal-2:8.2.1961-1.fc33.x86_64
Problem 4: conflicting requests
- package gstreamer1-plugins-bad-free-extras-1.18.0-3.fc33.i686 requires libglib-2.0.so.0, but none of the providers can be installed
- package gstreamer1-plugins-bad-free-extras-1.18.0-3.fc33.i686 requires libgobject-2.0.so.0, but none of the providers can be installed
- package gstreamer1-plugins-bad-free-extras-1.18.2-1.fc33.i686 requires libglib-2.0.so.0, but none of the providers can be installed
- package gstreamer1-plugins-bad-free-extras-1.18.2-1.fc33.i686 requires libgobject-2.0.so.0, but none of the providers can be installed
- package gstreamer1-plugins-bad-free-extras-1.18.0-3.fc33.x86_64 requires gstreamer1-plugins-bad-free(x86-64) = 1.18.0-3.fc33, but none of the providers can be installed
- package gstreamer1-plugins-bad-free-extras-1.18.2-1.fc33.x86_64 requires gstreamer1-plugins-bad-free(x86-64) = 1.18.2-1.fc33, but none of the providers can be installed
- glib2-2.66.4-1.fc33.i686 has inferior architecture
- glib2-2.66.1-3.fc33.i686 has inferior architecture
- cannot install both gstreamer1-plugins-bad-free-1.18.0-3.fc33.x86_64 and gstreamer1-plugins-bad-free-1.18.1-1.fc33.x86_64
- cannot install both gstreamer1-plugins-bad-free-1.18.2-1.fc33.x86_64 and gstreamer1-plugins-bad-free-1.18.1-1.fc33.x86_64
- cannot install both glib2-2.66.4-1.fc33.x86_64 and glib2-2.66.2-1.fc33.x86_64
- package ModemManager-1.14.6-1.fc33.x86_64 conflicts with glib2(x86-64) < 2.66.2 provided by glib2-2.66.1-3.fc33.x86_64
You will need to use rpm-ostree override reset -a I believe in order to reset your overrides. (Which should not affect your layered packages, just return the core component(s) back to what is in the commit.) A reboot will then of course be required to use the newer versions of toolbox and podman.
Finally, after your help, I could fix my Fedora. As you said, the problem was on the custom version of toolbox and podman packages. This information was given by the output of rpm-ostree status:
I will do a quick resume if someone has the same issue. Here is what I did in order to fix it:
rpm-ostree upgrade gave me the following error: error: Checkout podman-2:2.0.1-1.fc32.x86_64: Hardlinking 70/5ee685e13938927af53a13dff8fb45a505bbac59710e4e239fc612b9e30848.file to containers-mounts.conf.5.gz: File exists
In order to reset only the custom packages with: rpm-ostree override reset -a
I got the following error: error: Checkout vim-enhanced-2:8.2.2115-1.fc33.x86_64: Hardlinking ab/4a0895ca254af3b2723cd907c171e9eb41aad71ba821f90b68e4afe9cb9918.file to vim.sh: File exists
If I swap the vim package manually with: rpm-ostree override remove vim-minimal --install vim-enhanced
I got the conflict packages errors again.
So in order to remove vim package I run rpm-ostree remove vim,
After vim package was removed, I could run the reset custom packages with: rpm-ostree override reset -a
After the reset was done, I restarted my computer I finally I could run the upgrade successfully again.
It’s great to start the new year with Fedora upgrades again!
Thank you very much for your help and happy new year !