So, I’m trying to upgrade my Fedora 34 installation to new Fedora 35 but after entering $ dnf update it says:
Error: Transaction test error:
file /usr/share/doc/libgusb/NEWS from install of libgusb-0.3.8-1.fc34.i686 conflicts with file from package libgusb-0.3.7-1.fc34.x86_64
I’m new to Fedora, and I’ve also tried to search for the problem but didn’t understand what it is I’m dealing with, so I decided not to do anything which I don’t understand!
Can anybody explain what is happening and how can I solve this issue?
➜ ~ sudo dnf distro-sync
Last metadata expiration check: 1:14:46 ago on Thu 18 Nov 2021 23:15:09.
Problem: The operation would result in removing the following protected packages: gnome-shell, grub2-efi-ia32, grub2-efi-x64, grub2-pc, grub2-tools-minimal, systemd, systemd, systemd-udev
(try to add '--skip-broken' to skip uninstallable packages)
➜ ~ sudo dnf list installed libgusb --showduplicates
[sudo] password for user:
libgusb.i686 0.3.7-1.fc34 @updates
libgusb.x86_64 0.3.7-1.fc34 @updates
libgusb.x86_64 0.3.8-1.fc34 @updates
➜ ~ sudo dnf list available libgusb --showduplicates
Last metadata expiration check: 1:10:57 ago on Thu 18 Nov 2021 23:15:09.
libgusb.i686 0.3.6-1.fc34 fedora
libgusb.x86_64 0.3.6-1.fc34 fedora
libgusb.i686 0.3.8-1.fc34 updates
Yeah — the problem here isn’t that both are installed but that somehow their versions got out of sync. Removing the i686 package is a good temporary solution, and then after upgrading the system you can probably reinstall (a newer release of) that.