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.

2 Likes

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.

@hashmartin, that still skips the relevant packages for me:

PS /home/RokeJulianLockhart> sudo dnf distro-sync                                        
[sudo] password for RokeJulianLockhart: 
Updating and loading repositories:
Repositories loaded.
Problem 1: installed package mesa-va-drivers-freeworld-24.2.5-1.fc41.x86_64 requires mesa-filesystem(x86-64) = 24.2.5, but none of the providers can be installed
  - cannot install both mesa-filesystem-24.2.6-1.fc41.x86_64 from updates-testing and mesa-filesystem-24.2.5-1.fc41.x86_64 from @System
  - cannot install both mesa-filesystem-24.2.5-1.fc41.x86_64 from updates and mesa-filesystem-24.2.6-1.fc41.x86_64 from updates-testing
  - cannot install the best update candidate for package mesa-va-drivers-freeworld-24.2.5-1.fc41.x86_64
  - cannot install the best update candidate for package mesa-filesystem-24.2.5-1.fc41.x86_64
 Problem 2: installed package mesa-vdpau-drivers-freeworld-24.2.5-1.fc41.x86_64 requires mesa-filesystem(x86-64) = 24.2.5, but none of the providers can be installed
  - cannot install both mesa-filesystem-24.2.6-1.fc41.x86_64 from updates-testing and mesa-filesystem-24.2.5-1.fc41.x86_64 from @System
  - cannot install both mesa-filesystem-24.2.5-1.fc41.x86_64 from updates and mesa-filesystem-24.2.6-1.fc41.x86_64 from updates-testing
  - package mesa-dri-drivers-24.2.6-1.fc41.x86_64 from updates-testing requires mesa-filesystem(x86-64) = 24.2.6-1.fc41, but none of the providers can be installed
  - cannot install the best update candidate for package mesa-vdpau-drivers-freeworld-24.2.5-1.fc41.x86_64
  - cannot install the best update candidate for package mesa-dri-drivers-24.2.5-1.fc41.x86_64
 Problem 3: problem with installed package
  - installed package mesa-vdpau-drivers-freeworld-24.2.5-1.fc41.x86_64 requires mesa-filesystem(x86-64) = 24.2.5, but none of the providers can be installed
  - package mesa-vdpau-drivers-freeworld-24.2.5-1.fc41.x86_64 from rpmfusion-free-updates requires mesa-filesystem(x86-64) = 24.2.5, but none of the providers can be installed
  - package mesa-vdpau-drivers-freeworld-24.2.4-1.fc41.x86_64 from rpmfusion-free requires mesa-filesystem(x86-64) = 24.2.4, but none of the providers can be installed
  - cannot install both mesa-filesystem-24.2.6-1.fc41.x86_64 from updates-testing and mesa-filesystem-24.2.5-1.fc41.x86_64 from @System
  - cannot install both mesa-filesystem-24.2.6-1.fc41.x86_64 from updates-testing and mesa-filesystem-24.2.4-1.fc41.x86_64 from fedora
  - cannot install both mesa-filesystem-24.2.5-1.fc41.x86_64 from updates and mesa-filesystem-24.2.6-1.fc41.x86_64 from updates-testing
  - mesa-filesystem-24.2.6-1.fc41.i686 from updates-testing has inferior architecture
  - cannot install the best update candidate for package mesa-filesystem-24.2.5-1.fc41.i686
 Problem 4: problem with installed package
  - installed package mesa-va-drivers-freeworld-24.2.5-1.fc41.x86_64 requires mesa-filesystem(x86-64) = 24.2.5, but none of the providers can be installed
  - package mesa-va-drivers-freeworld-24.2.5-1.fc41.x86_64 from rpmfusion-free-updates requires mesa-filesystem(x86-64) = 24.2.5, but none of the providers can be installed
  - package mesa-va-drivers-freeworld-24.2.4-1.fc41.x86_64 from rpmfusion-free requires mesa-filesystem(x86-64) = 24.2.4, but none of the providers can be installed
  - cannot install both mesa-filesystem-24.2.6-1.fc41.x86_64 from updates-testing and mesa-filesystem-24.2.5-1.fc41.x86_64 from @System
  - cannot install both mesa-filesystem-24.2.6-1.fc41.x86_64 from updates-testing and mesa-filesystem-24.2.4-1.fc41.x86_64 from fedora
  - cannot install both mesa-filesystem-24.2.5-1.fc41.x86_64 from updates and mesa-filesystem-24.2.6-1.fc41.x86_64 from updates-testing
  - package mesa-vulkan-drivers-24.2.6-1.fc41.x86_64 from updates-testing requires mesa-filesystem(x86-64) = 24.2.6-1.fc41, but none of the providers can be installed
  - cannot install the best update candidate for package mesa-vulkan-drivers-24.2.5-1.fc41.x86_64

Package                                                                                                  Arch               Version                                                                                                   Repository                                                                        Size
Upgrading:
 PackageKit                                                                                              x86_64             1.2.8-8.fc41                                                                                              updates                                                                        2.9 MiB
   replacing PackageKit                                                                                  x86_64             1.2.8-7.fc41                                                                                              <unknown>                                                                      2.9 MiB
 PackageKit-command-not-found                                                                            x86_64             1.2.8-8.fc41                                                                                              updates                                                                       35.2 KiB
   replacing PackageKit-command-not-found                                                                x86_64             1.2.8-7.fc41                                                                                              <unknown>                                                                     35.2 KiB
 PackageKit-glib                                                                                         x86_64             1.2.8-8.fc41                                                                                              updates                                                                      520.3 KiB
   replacing PackageKit-glib                                                                             x86_64             1.2.8-7.fc41                                                                                              <unknown>                                                                    520.4 KiB
 PackageKit-gstreamer-plugin                                                                             x86_64             1.2.8-8.fc41                                                                                              updates                                                                       27.8 KiB
   replacing PackageKit-gstreamer-plugin                                                                 x86_64             1.2.8-7.fc41                                                                                              <unknown>                                                                     23.8 KiB
 bluez                                                                                                   x86_64             5.79-1.fc41                                                                                               updates-testing                                                                3.3 MiB
   replacing bluez                                                                                       x86_64             5.78-1.fc41                                                                                               <unknown>                                                                      3.3 MiB
 bluez-cups                                                                                              x86_64             5.79-1.fc41                                                                                               updates-testing                                                               48.2 KiB
   replacing bluez-cups                                                                                  x86_64             5.78-1.fc41                                                                                               <unknown>                                                                     48.2 KiB
 bluez-libs                                                                                              i686               5.79-1.fc41                                                                                               updates-testing                                                              201.8 KiB
   replacing bluez-libs                                                                                  i686               5.78-1.fc41                                                                                               <unknown>                                                                    201.7 KiB
 bluez-libs                                                                                              x86_64             5.79-1.fc41                                                                                               updates-testing                                                              202.4 KiB
   replacing bluez-libs                                                                                  x86_64             5.78-1.fc41                                                                                               <unknown>                                                                    198.4 KiB
 bluez-obexd                                                                                             x86_64             5.79-1.fc41                                                                                               updates-testing                                                              345.1 KiB
   replacing bluez-obexd                                                                                 x86_64             5.78-1.fc41                                                                                               <unknown>                                                                    328.1 KiB
 cmake                                                                                                   x86_64             3.30.5-1.fc41                                                                                             updates-testing                                                               32.5 MiB
   replacing cmake                                                                                       x86_64             3.28.3-7.fc41                                                                                             <unknown>                                                                     31.6 MiB
 cmake-data                                                                                              noarch             3.30.5-1.fc41                                                                                             updates-testing                                                                8.2 MiB
   replacing cmake-data                                                                                  noarch             3.28.3-7.fc41                                                                                             <unknown>                                                                      8.0 MiB
 cmake-filesystem                                                                                        x86_64             3.30.5-1.fc41                                                                                             updates-testing                                                                0.0   B
   replacing cmake-filesystem                                                                            x86_64             3.28.3-7.fc41                                                                                             <unknown>                                                                      0.0   B
 fedora-release-common                                                                                   noarch             41-26                                                                                                     updates-testing                                                               19.6 KiB
   replacing fedora-release-common                                                                       noarch             41-25                                                                                                     <unknown>                                                                     19.5 KiB
 fedora-release-identity-kde                                                                             noarch             41-26                                                                                                     updates-testing                                                                2.0 KiB
   replacing fedora-release-identity-kde                                                                 noarch             41-25                                                                                                     <unknown>                                                                      2.0 KiB
 fedora-release-kde                                                                                      noarch             41-26                                                                                                     updates-testing                                                                0.0   B
   replacing fedora-release-kde                                                                          noarch             41-25                                                                                                     <unknown>                                                                      0.0   B
 gegl04                                                                                                  x86_64             0.4.50-1.fc41                                                                                             updates-testing                                                               13.0 MiB
   replacing gegl04                                                                                      x86_64             0.4.48-4.fc41                                                                                             <unknown>                                                                     12.8 MiB
 prismlauncher                                                                                           x86_64             9.1-1.fc41                                                                                                copr:copr.fedorainfracloud.org:g3tchoo:prismlauncher                          11.5 MiB
   replacing prismlauncher                                                                               x86_64             9.0-1.fc41                                                                                                <unknown>                                                                     11.5 MiB
Skipping packages with conflicts:
 mesa-filesystem                                                                                         x86_64             24.2.4-1.fc41                                                                                             fedora                                                                         3.6 KiB
 mesa-filesystem                                                                                         x86_64             24.2.6-1.fc41                                                                                             updates-testing                                                                3.6 KiB
Skipping packages with broken dependencies:
 mesa-va-drivers-freeworld                                                                               x86_64             24.2.5-1.fc41                                                                                             rpmfusion-free-updates                                                        41.4 MiB
 mesa-vdpau-drivers-freeworld                                                                            x86_64             24.2.5-1.fc41                                                                                             rpmfusion-free-updates                                                         5.7 KiB
 mesa-va-drivers-freeworld                                                                               x86_64             24.2.4-1.fc41                                                                                             rpmfusion-free                                                                41.4 MiB
 mesa-vdpau-drivers-freeworld                                                                            x86_64             24.2.4-1.fc41                                                                                             rpmfusion-free                                                                 5.7 KiB
 mesa-dri-drivers                                                                                        x86_64             24.2.6-1.fc41                                                                                             updates-testing                                                              143.1 MiB
 mesa-vulkan-drivers                                                                                     x86_64             24.2.6-1.fc41                                                                                             updates-testing                                                               99.0 MiB

Transaction Summary:
 Upgrading:         17 packages
 Replacing:         17 package
 Skipping:           8 packages

Total size of inbound packages is 23 MiB. Need to download 23 MiB.
After this operation, 1 MiB extra will be used (install 73 MiB, remove 71 MiB).
Is this ok [y/N]: