Package conflicts in f39

In the past few days, when I try to run dnf update --refresh on my (Ryzen 7 6800U) laptop, I get the following:

Error: Transaction test error:
  file /usr/share/alsa/cards/USB-Audio.conf from install of alsa-lib-1.2.11-2.fc39.i686 conflicts with file from package alsa-lib-1.2.10-3.fc39.x86_64
  file /usr/share/doc/libidn2/NEWS from install of libidn2-2.3.7-1.fc39.i686 conflicts with file from package libidn2-2.3.4-3.fc39.x86_64
  file /usr/share/locale/fur/LC_MESSAGES/libidn2.mo from install of libidn2-2.3.7-1.fc39.i686 conflicts with file from package libidn2-2.3.4-3.fc39.x86_64
  file /usr/share/drirc.d/00-mesa-defaults.conf from install of mesa-dri-drivers-23.3.6-1.fc39.i686 conflicts with file from package mesa-dri-drivers-23.2.1-2.fc39.x86_64

What can I do about it?

Try dnf remove of the i686 version of the conflicting packages.
It is rare to see any i686 packages installed.

Check that nothing important to you will be removed when you pull out the i686 packages.

1 Like

For example, removing alsa-lib.i686 would also remove steam

(actually, same goes for the other two packages)

The first one resulted in the following output:

Installed package expat-2.6.0-1.fc39.x86_64 not available.
Installed package grub2-tools-1:2.06-116.fc39.x86_64 not available.
Installed package grub2-tools-minimal-1:2.06-116.fc39.x86_64 not available.
Installed package libblockdev-utils-3.1.0-1.fc39.x86_64 not available.
Installed package libblockdev-3.1.0-1.fc39.x86_64 not available.
Installed package libxmlb-0.3.15-1.fc39.x86_64 not available.
Installed package at-spi2-core-2.50.1-1.fc39.x86_64 not available.
Installed package atk-2.50.1-1.fc39.x86_64 not available.
Installed package at-spi2-atk-2.50.1-1.fc39.x86_64 not available.
Installed package libblockdev-btrfs-3.1.0-1.fc39.x86_64 not available.
Installed package btrfs-progs-6.7.1-1.fc39.x86_64 not available.
Installed package libblockdev-dm-3.1.0-1.fc39.x86_64 not available.
Installed package libblockdev-mpath-3.1.0-1.fc39.x86_64 not available.
Installed package qemu-common-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-user-static-aarch64-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-user-static-arm-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-user-static-x86-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-user-static-2:8.1.3-4.fc39.x86_64 not available.
Installed package linux-firmware-whence-20240220-1.fc39.noarch not available.
Installed package grub2-common-1:2.06-116.fc39.noarch not available.
Installed package libtirpc-1.3.4-0.rc2.fc39.x86_64 not available.
Installed package libreoffice-data-1:7.6.5.2-1.fc39.x86_64 not available.
Installed package librados2-2:18.2.1-4.fc39.x86_64 not available.
Installed package javascriptcoregtk6.0-2.42.5-1.fc39.x86_64 not available.
Installed package librbd1-2:18.2.1-4.fc39.x86_64 not available.
Installed package libnfsidmap-1:2.6.4-0.rc3.fc39.x86_64 not available.
Installed package qemu-ui-opengl-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-ui-spice-core-2:8.1.3-4.fc39.x86_64 not available.
Installed package samba-common-2:4.19.5-1.fc39.noarch not available.
Installed package libwbclient-2:4.19.5-1.fc39.x86_64 not available.
Installed package samba-client-libs-2:4.19.5-1.fc39.x86_64 not available.
Installed package samba-common-libs-2:4.19.5-1.fc39.x86_64 not available.
Installed package libsmbclient-2:4.19.5-1.fc39.x86_64 not available.
Installed package qemu-char-spice-2:8.1.3-4.fc39.x86_64 not available.
Installed package bolt-0.9.6-2.fc39.x86_64 not available.
Installed package qemu-ui-spice-app-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-char-baum-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-audio-spice-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-device-display-qxl-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-ui-egl-headless-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-audio-alsa-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-audio-dbus-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-audio-jack-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-audio-oss-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-audio-pa-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-block-blkio-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-block-curl-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-block-dmg-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-block-gluster-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-block-iscsi-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-block-nfs-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-block-rbd-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-device-display-vhost-user-gpu-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-device-display-virtio-gpu-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-device-display-virtio-gpu-ccw-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-device-display-virtio-gpu-gl-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-device-display-virtio-gpu-pci-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-device-display-virtio-gpu-pci-gl-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-device-display-virtio-vga-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-device-display-virtio-vga-gl-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-device-usb-host-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-device-usb-redirect-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-device-usb-smartcard-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-ui-curses-2:8.1.3-4.fc39.x86_64 not available.
Installed package grub2-pc-modules-1:2.06-116.fc39.noarch not available.
Installed package qemu-user-static-alpha-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-user-static-cris-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-user-static-hexagon-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-user-static-hppa-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-user-static-loongarch64-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-user-static-m68k-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-user-static-microblaze-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-user-static-mips-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-user-static-nios2-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-user-static-or1k-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-user-static-ppc-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-user-static-riscv-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-user-static-s390x-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-user-static-sh4-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-user-static-sparc-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-user-static-xtensa-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-audio-pipewire-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-block-ssh-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-audio-sdl-2:8.1.3-4.fc39.x86_64 not available.
Installed package qemu-ui-gtk-2:8.1.3-4.fc39.x86_64 not available.
Installed package vim-data-2:9.1.113-1.fc39.noarch not available.
Error:
 Problem: The operation would result in removing the following protected packages: grub2-pc

Whereas the second one would remove, among other things, bash and git.

I took the liberty of editing your posts to convert the text to the preformatted text display.

Adding ``` to the lines preceding the posted text and following that text makes it preformatted and retains the formatting as seen on your screen. Retaining the formatting makes it much easier to read. As you posted it the text became one long continuous line of text.

The structure is
```
pasted text here
```

2 Likes

I ran that, substituting those versions with the ones I actually have installed (the ones in your comment are the ones dnf is trying to update to), but nothing changes, because DNF tries instead to install those as dependencies when I run dnf update, so it fails anyway because of that same conflict.

The weird thing to me seems to be that DNF is trying to upgrade the i686 version of those packages but not the x86_64 versions, which might be the source of the conflict.

No idea why how that would happen though, it didn’t happen on another machine with all those same packages.

Right, thank you for the heads up!

I’ll try to do that: I uninstalled steam, but DNF still wants to install those packages when I update. I can’t install them myself… I guess I need to figure out the other packages that depend on those that I have installed.

found the old terminal logs, I guess I need to uninstall the i686 versions of all of those as well

Ended up uninstalling those, upgrading and then reinstalling everything. Everything installed without issues, thanks!

1 Like