Mesa driver related packages conflict when upgrading

OS: Fedora Linux 40 (Cinnamon) x86_64
Kernel: Linux 6.10.4-200.fc40.x86_64
$ sudo dnf upgrade --refresh --best
[sudo] password for hashmartin: 
Brave Browser - Beta                                                                                                                                                                 13 kB/s | 2.0 kB     00:00    
Fedora 40 - x86_64                                                                                                                                                                  6.8 kB/s | 9.9 kB     00:01    
Fedora 40 openh264 (From Cisco) - x86_64                                                                                                                                            1.1 kB/s | 989  B     00:00    
Fedora 40 - x86_64 - Updates                                                                                                                                                        4.7 kB/s | 5.1 kB     00:01    
LibreWolf Software Repository                                                                                                                                                       637  B/s | 833  B     00:01    
RPM Fusion for Fedora 40 - Free                                                                                                                                                      16 kB/s |  12 kB     00:00    
RPM Fusion for Fedora 40 - Free - Updates                                                                                                                                           9.1 kB/s | 9.7 kB     00:01    
RPM Fusion for Fedora 40 - Nonfree                                                                                                                                                   22 kB/s |  16 kB     00:00    
RPM Fusion for Fedora 40 - Nonfree - Updates                                                                                                                                         13 kB/s |  13 kB     00:01    
Visual Studio Code                                                                                                                                                                  3.4 kB/s | 1.5 kB     00:00    
Error: 
 Problem 1: package mesa-va-drivers-freeworld-24.1.5-1.fc40.x86_64 from @System requires mesa-filesystem(x86-64) = 24.1.5, but none of the providers can be installed
  - cannot install both mesa-filesystem-24.1.6-1.fc40.x86_64 from updates and mesa-filesystem-24.1.5-2.fc40.x86_64 from @System
  - cannot install the best update candidate for package mesa-va-drivers-freeworld-24.1.5-1.fc40.x86_64
  - cannot install the best update candidate for package mesa-filesystem-24.1.5-2.fc40.x86_64
 Problem 2: cannot install both mesa-filesystem-24.1.6-1.fc40.x86_64 from updates and mesa-filesystem-24.1.5-2.fc40.x86_64 from @System
  - package mesa-vdpau-drivers-freeworld-24.1.5-1.fc40.x86_64 from @System requires mesa-filesystem(x86-64) = 24.1.5, but none of the providers can be installed
  - package mesa-dri-drivers-24.1.6-1.fc40.x86_64 from updates requires mesa-filesystem(x86-64) = 24.1.6-1.fc40, but none of the providers can be installed
  - cannot install the best update candidate for package mesa-vdpau-drivers-freeworld-24.1.5-1.fc40.x86_64
  - cannot install the best update candidate for package mesa-dri-drivers-24.1.5-2.fc40.x86_64
 Problem 3: problem with installed package mesa-vdpau-drivers-freeworld-24.1.5-1.fc40.x86_64
  - package mesa-vdpau-drivers-freeworld-24.1.5-1.fc40.x86_64 from @System requires mesa-filesystem(x86-64) = 24.1.5, but none of the providers can be installed
  - package mesa-vdpau-drivers-freeworld-24.1.5-1.fc40.x86_64 from rpmfusion-free-updates requires mesa-filesystem(x86-64) = 24.1.5, but none of the providers can be installed
  - cannot install both mesa-filesystem-24.1.6-1.fc40.x86_64 from updates and mesa-filesystem-24.1.5-2.fc40.x86_64 from @System
  - package mesa-dri-drivers-24.1.6-1.fc40.x86_64 from updates requires mesa-filesystem(x86-64) = 24.1.6-1.fc40, but none of the providers can be installed
  - problem with installed package mesa-dri-drivers-24.1.5-2.fc40.x86_64
  - package mesa-dri-drivers-24.1.5-2.fc40.x86_64 from @System requires mesa-libglapi(x86-64) = 24.1.5-2.fc40, but none of the providers can be installed
  - cannot install both mesa-libglapi-24.1.6-1.fc40.x86_64 from updates and mesa-libglapi-24.1.5-2.fc40.x86_64 from @System
  - cannot install the best update candidate for package mesa-libglapi-24.1.5-2.fc40.x86_64
 Problem 4: mesa-dri-drivers-24.1.6-1.fc40.i686 from updates  does not belong to a distupgrade repository
  - package tigervnc-server-minimal-1.14.0-2.fc40.x86_64 from @System requires mesa-dri-drivers, but none of the providers can be installed
  - package mesa-dri-drivers-24.1.6-1.fc40.x86_64 from updates requires mesa-filesystem(x86-64) = 24.1.6-1.fc40, but none of the providers can be installed
  - cannot install both mesa-filesystem-24.1.6-1.fc40.x86_64 from updates and mesa-filesystem-24.1.5-2.fc40.x86_64 from @System
  - problem with installed package mesa-va-drivers-freeworld-24.1.5-1.fc40.x86_64
  - package mesa-va-drivers-freeworld-24.1.5-1.fc40.x86_64 from @System requires mesa-filesystem(x86-64) = 24.1.5, but none of the providers can be installed
  - package mesa-va-drivers-freeworld-24.1.5-1.fc40.x86_64 from rpmfusion-free-updates requires mesa-filesystem(x86-64) = 24.1.5, but none of the providers can be installed
  - mesa-dri-drivers-24.0.5-1.fc40.i686 from fedora  does not belong to a distupgrade repository
  - package mesa-dri-drivers-24.1.5-2.fc40.x86_64 from @System requires mesa-libglapi(x86-64) = 24.1.5-2.fc40, but none of the providers can be installed
  - package mesa-dri-drivers-24.0.5-1.fc40.x86_64 from fedora requires mesa-libglapi(x86-64) = 24.0.5-1.fc40, but none of the providers can be installed
  - cannot install both mesa-libglapi-24.1.6-1.fc40.x86_64 from updates and mesa-libglapi-24.1.5-2.fc40.x86_64 from @System
  - cannot install both mesa-libglapi-24.1.6-1.fc40.x86_64 from updates and mesa-libglapi-24.0.5-1.fc40.x86_64 from fedora
  - package mesa-libEGL-24.1.6-1.fc40.x86_64 from updates requires mesa-libglapi(x86-64) = 24.1.6-1.fc40, but none of the providers can be installed
  - cannot install the best update candidate for package tigervnc-server-minimal-1.14.0-2.fc40.x86_64
  - cannot install the best update candidate for package mesa-libEGL-24.1.5-2.fc40.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)

How should I safely resolve these errors and conflicts without borking my system.

EDIT:

When I go for $ sudo dnf upgrade --refresh --best --allowerasing, I get the following result:

====================================================================================================================================================================================================================
 Package                                                      Architecture                           Version                                          Repository                                               Size
====================================================================================================================================================================================================================
Upgrading:
 mesa-dri-drivers                                             x86_64                                 24.1.6-1.fc40                                    updates                                                  26 M
 mesa-filesystem                                              x86_64                                 24.1.6-1.fc40                                    updates                                                  21 k
 mesa-libEGL                                                  x86_64                                 24.1.6-1.fc40                                    updates                                                 140 k
 mesa-libGL                                                   x86_64                                 24.1.6-1.fc40                                    updates                                                 176 k
 mesa-libgbm                                                  x86_64                                 24.1.6-1.fc40                                    updates                                                  48 k
 mesa-libglapi                                                x86_64                                 24.1.6-1.fc40                                    updates                                                  51 k
Removing dependent packages:
 mesa-va-drivers-freeworld                                    x86_64                                 24.1.5-1.fc40                                    @rpmfusion-free-updates                                  15 M
 mesa-vdpau-drivers-freeworld                                 x86_64                                 24.1.5-1.fc40                                    @rpmfusion-free-updates                                  15 M

Transaction Summary
====================================================================================================================================================================================================================
Upgrade  6 Packages
Remove   2 Packages


Should I wait for the RPM Fusion vaapi and vdpau drivers to be updated to 24.1.6-1? I installed the vaapi and vdpau drivers from RPM Fusion based on some discussion to get hardware accelerated video decoding to work everywhere.

That is what I would usually do.

1 Like

I found the solution to this. There are 4 paths one can take.

  1. Wait till RPM Fusion updates the packages which are causing conflicts.
  2. Install the conflicting packages from the testing branch of RPM Fusion (might cause problems):
    sudo dnf upgrade --refresh --enablerepo=rpmfusion-free-updates-testing
  3. Remove the conflicting packages:
    sudo dnf remove mesa-va-drivers-freeworld mesa-vdpau-drivers-freeworld
  4. Synchronize installed packages by downgrading the conflicts:
    sudo dnf distro-sync

I chose option 2 and crossed my fingers, but I think that strategy 1 or 4 is the best way to go.

1 Like

The real issue here is fedora pushing mesa update to stable within 24 hours with no time in testing.
I might push the rpmfusion package to stable on Friday or Saturday.

https://mirror.netsite.dk/rpmfusion/free/fedora/updates/testing/40/x86_64/repoview/mesa-va-drivers-freeworld.html

5 Likes

If you do you may be ahead of the fedora version

mesa-libxatracker-devel.x86_64                       24.0.5-1.fc40                                          fedora                
mesa-libxatracker-devel.x86_64                       24.0.5-1.fc40                                          updates-testing       
mesa-libxatracker-devel.x86_64                       24.1.5-2.fc40                                          updates               

See FEDORA-2024-cc7c8c8818 — unspecified update for mesa — Fedora Updates System

Then it is strange to find version 24.0.5-1.fc40 in updates-testing.

You are probably using a dead mirror.

https://ftp.nluug.nl/os/Linux/distr/fedora/linux/updates/testing/40/Everything/x86_64/Packages/m/

http://mirror.i3d.net/pub/fedora/linux/updates/testing/40/Everything/x86_64/Packages/m/

Both have the old version as if 11:30 CEST

It looks like the main fedora url also has stale packages

https://dl.fedoraproject.org/pub/fedora/linux/updates/testing/40/Everything/x86_64/Packages/m/

The new version has meanwhile shown up in “updates” so that should be compatible with the rpmfusion version pending in testing.