I’m new to Fedora and Linux, so please help me. When I wanted to update with the command:
sudo dnf update
But i got a message like this:
Last metadata expiration check: 1:03:48 ago on Tue 01 Feb 2022 09:45:38 PM WITA.
Upgrading:
mesa-dri-drivers i686 21.3.5-1.fc35 updates 25 M
mesa-libGL i686 21.3.5-1.fc35 updates 182 k
mesa-vulkan-drivers i686 21.3.5-1.fc35 updates 5.4 M
Transaction Summary
Upgrade 3 Packages
Total size: 31 M
Is this ok [Y/n]: y
Downloading Packages:
[SKIPPED] mesa-dri-drivers-21.3.5-1.fc35.i686.rpm: Already downloaded
[SKIPPED] mesa-libGL-21.3.5-1.fc35.i686.rpm: Already downloaded
[SKIPPED] mesa-vulkan-drivers-21.3.5-1.fc35.i686.rpm: Already downloaded
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
file /usr/share/drirc.d/00-mesa-defaults.conf from install of mesa-dri-drivers-21.3.5-1.fc35.i686 conflicts with file from package mesa-dri-drivers-21.3.4-3.fc35.x86_64
===================================================================
The message said Error: Transaction test error. I have no idea what is that mean. Can someone help me…
The problem is that only the 32 bit version is updated while the 64 bit version remains unupdated. The outcome is that the config cannot fit both. The question is why the 64 bit version is not updated, it is already in the repos (I also have both installed).
Can you provide the output of the following? sudo dnf list all | grep mesa-dri sudo dnf repolist sudo dnf update mesa-dri-drivers.x86_64
The output you provided above, is this the output of the exact command sudo dnf update ? Or is it the output of a modified update command? Your argument indicates that the message is varying?
The way I read that info is that for some reason you have installed those three i686 (32 bit) packages and the x86_64 package are not compatible.
I would remove explicitly each of those i686 packages then redo the update. Doing so should resolve the conflict.
Something such as sudo dnf remove mesa-dri-drivers*i686* should work then do the same for each of the other packages.
Upgrading:
mesa-dri-drivers i686 21.3.5-1.fc35 updates 25 M
mesa-libGL i686 21.3.5-1.fc35 updates 182 k
mesa-vulkan-drivers i686 21.3.5-1.fc35 updates 5.4 M
@computersavvy I also have both packages installed. They are compatible. But on my system, they are both 21.3.5-1. So, the 64 bit version has to be updated as well. Removing the 32 bit versions if he does not need them for compatibility reasons makes sense. But the question remains why the 64 bit version is not updated.
repo id repo name
code Visual Studio Code
fedora Fedora 35 - x86_64
fedora-cisco-openh264 Fedora 35 openh264 (From Cisco) - x86_64
fedora-modular Fedora Modular 35 - x86_64
google-chrome google-chrome
phracek-PyCharm Copr repo for PyCharm owned by phracek
rpmfusion-free RPM Fusion for Fedora 35 - Free
rpmfusion-free-updates RPM Fusion for Fedora 35 - Free - Updates
rpmfusion-nonfree RPM Fusion for Fedora 35 - Nonfree
rpmfusion-nonfree-nvidia-driver RPM Fusion for Fedora 35 - Nonfree - NVIDIA Driver
rpmfusion-nonfree-steam RPM Fusion for Fedora 35 - Nonfree - Steam
rpmfusion-nonfree-updates RPM Fusion for Fedora 35 - Nonfree - Updates
updates Fedora 35 - x86_64 - Updates
updates-modular Fedora Modular 35 - x86_64 - Updates
sudo dnf update mesa-dri-drivers.x86_64 :
Last metadata expiration check: 0:04:10 ago on Wed 02 Feb 2022 04:39:51 AM WITA.
Dependencies resolved.
Nothing to do.
Complete!
Yeah that is the exact output of sudo dnf update command.
This is the issue. For some reason, the 64 bit version seems to be installed twice (the current and the last version). Don’t know how that happened. Is it possible that one of your previous updates was aborted before finished? We need to get rid of the older of the 64 bit packages, then the update of the remaining should work.
Try sudo dnf reinstall mesa-dri-drivers, which should reinstall both packages, and then try again to sudo dnf update. Let’s see whether this is sufficient to solve the problem.
This is how it should look like in the end:
[user@localhost ~]# dnf list all | grep mesa-dri
mesa-dri-drivers.i686 21.3.5-1.fc35 @updates
mesa-dri-drivers.x86_64 21.3.5-1.fc35 @updates