Cannot update system on fedora 42

I never had problems with updating system but now when I try to update this message shows up:

Running transaction
Transaction failed: Rpm transaction failed.

  • file /usr/share/licenses/mesa-vulkan-drivers/LICENSE.dependencies conflicts between attempted installs of mesa-vulkan-drivers-25.2.6-48.gitcbe6524.fc42.i686 and mesa-vulkan-drivers-25.2.6-48.gitcbe6524.fc42.x86_64

I deleted this file (but because I didn’t know if this file is important I left the copy in diffrent place) but this message still shows up. I have this issue for few days and because I cannot update system I also cannot upgrade to fedora 43.

1 Like

The way to fix a conflict is by uninstalled one of the packages.
In this case I’d try uninstalling mesa-vulkan-drivers-25.2.6-48.gitcbe6524.fc42.i686.

Deleting that named files is not sufficient as it is the meta data in the RPM packages that are being examined, not the file on disk.

sudo dnf remove mesa-vulkan-drivers-25.2.6-48.gitcbe6524.fc42.i686
2 Likes

When I try this command it shows this:
No packages to remove for argument: mesa-vulkan-drivers-25.2.6-48.gitcbe6524.fc42.i686

Try that as sudo dnf remove mesa-vulkan-drivers.i686. The installed package is likely an older version that is being replaced by the version number that is complaining.

If it still complains then run the update with the option --exclude mesa-vulkan-drivers.i686
It is possible that it is trying to pull in both packages at the same time when doing the update, and the installed package is the one that needs removed.