Cannot install Nvidia drivers on a fresh installation of Fedora Silverblue due to a "Could not depsolve transaction"

Have tried

rpm-ostree refresh-md

and

rpm-ostree cleanup -bpm

but unfortunately the issue still presists.

naakarg@fedora:~$ rpm-ostree status
State: idle
Deployments:
● fedora:fedora/40/x86_64/silverblue
                  Version: 40.20240915.0 (2024-09-15T02:29:20Z)
               BaseCommit: 980e3090f8bda152935efff93ec4609f4a65f635c0842bb10af1e6c5a045c1d1
             GPGSignature: Valid signature by 115DF9AEF857853EE8445D0A0727707EA15B79CC
      RemovedBasePackages: firefox firefox-langpacks 130.0-3.fc40 gnome-tour 46.0-2.fc40
                           yelp 2:42.2-5.fc40
          LayeredPackages: gnome-tweaks papirus-icon-theme steam-devices

  fedora:fedora/40/x86_64/silverblue
                  Version: 40.20240915.0 (2024-09-15T02:29:20Z)
                   Commit: 980e3090f8bda152935efff93ec4609f4a65f635c0842bb10af1e6c5a045c1d1
             GPGSignature: Valid signature by 115DF9AEF857853EE8445D0A0727707EA15B79CC
naakarg@fedora:~$ sudo rpm-ostree install akmod-nvidia xorg-x11-drv-nvidia-cuda
[sudo] password for naakarg: 
Checking out tree 980e309... done
Enabled rpm-md repositories: fedora-cisco-openh264 updates fedora copr:copr.fedorainfracloud.org:phracek:PyCharm google-chrome rpmfusion-nonfree-nvidia-driver rpmfusion-nonfree-steam updates-archive
Importing rpm-md... done
rpm-md repo 'fedora-cisco-openh264' (cached); generated: 2024-03-12T11:45:42Z solvables: 3
rpm-md repo 'updates' (cached); generated: 2024-09-13T01:44:38Z solvables: 26430
rpm-md repo 'fedora' (cached); generated: 2024-04-14T18:51:11Z solvables: 74881
rpm-md repo 'copr:copr.fedorainfracloud.org:phracek:PyCharm' (cached); generated: 2024-03-18T11:54:41Z solvables: 14
rpm-md repo 'google-chrome' (cached); generated: 2024-09-12T17:59:38Z solvables: 3
rpm-md repo 'rpmfusion-nonfree-nvidia-driver' (cached); generated: 2024-09-03T10:07:58Z solvables: 16
rpm-md repo 'rpmfusion-nonfree-steam' (cached); generated: 2024-09-11T11:15:12Z solvables: 2
rpm-md repo 'updates-archive' (cached); generated: 2024-09-13T02:31:26Z solvables: 39640
Resolving dependencies... done
error: Could not depsolve transaction; 1 problem detected:
 Problem: package akmods-0.5.8-8.fc40.noarch from fedora requires pkgconfig(libelf), but none of the providers can be installed
  - package elfutils-libelf-devel-0.191-4.fc40.i686 from fedora requires pkgconfig(zlib), but none of the providers can be installed
  - package elfutils-libelf-devel-0.191-4.fc40.x86_64 from fedora requires pkgconfig(zlib), but none of the providers can be installed
  - zlib-ng-compat-devel-2.1.7-1.fc40.i686 from updates  does not belong to a distupgrade repository
  - zlib-ng-compat-devel-2.1.6-2.fc40.i686 from fedora  does not belong to a distupgrade repository
  - package zlib-ng-compat-devel-2.1.7-1.fc40.x86_64 from updates requires zlib-ng-compat(x86-64) = 2.1.7-1.fc40, but none of the providers can be installed
  - package zlib-ng-compat-devel-2.1.7-1.fc40.x86_64 from updates-archive requires zlib-ng-compat(x86-64) = 2.1.7-1.fc40, but none of the providers can be installed
  - package zlib-ng-compat-devel-2.1.6-2.fc40.x86_64 from fedora requires zlib-ng-compat(x86-64) = 2.1.6-2.fc40, but none of the providers can be installed
  - package zlib-ng-compat-devel-2.1.6-5.fc40.x86_64 from updates-archive requires zlib-ng-compat(x86-64) = 2.1.6-5.fc40, but none of the providers can be installed
  - package zlib-ng-compat-2.1.7-2.fc40.x86_64 from @System conflicts with zlib(x86-64) provided by zlib-ng-compat-2.1.7-1.fc40.x86_64 from updates
  - package zlib-ng-compat-2.1.7-1.fc40.x86_64 from updates conflicts with zlib(x86-64) provided by zlib-ng-compat-2.1.7-2.fc40.x86_64 from @System
  - cannot install both zlib-ng-compat-2.1.7-1.fc40.x86_64 from updates and zlib-ng-compat-2.1.7-2.fc40.x86_64 from @System
  - package zlib-ng-compat-2.1.7-2.fc40.x86_64 from @System conflicts with zlib(x86-64) provided by zlib-ng-compat-2.1.6-2.fc40.x86_64 from fedora
  - package zlib-ng-compat-2.1.6-2.fc40.x86_64 from fedora conflicts with zlib(x86-64) provided by zlib-ng-compat-2.1.7-2.fc40.x86_64 from @System
  - cannot install both zlib-ng-compat-2.1.6-2.fc40.x86_64 from fedora and zlib-ng-compat-2.1.7-2.fc40.x86_64 from @System
  - package zlib-ng-compat-2.1.7-2.fc40.x86_64 from @System conflicts with zlib(x86-64) provided by zlib-ng-compat-2.1.6-5.fc40.x86_64 from updates-archive
  - package zlib-ng-compat-2.1.6-5.fc40.x86_64 from updates-archive conflicts with zlib(x86-64) provided by zlib-ng-compat-2.1.7-2.fc40.x86_64 from @System
  - cannot install both zlib-ng-compat-2.1.6-5.fc40.x86_64 from updates-archive and zlib-ng-compat-2.1.7-2.fc40.x86_64 from @System
  - package zlib-ng-compat-2.1.7-2.fc40.x86_64 from @System conflicts with zlib(x86-64) provided by zlib-ng-compat-2.1.7-1.fc40.x86_64 from updates-archive
  - package zlib-ng-compat-2.1.7-1.fc40.x86_64 from updates-archive conflicts with zlib(x86-64) provided by zlib-ng-compat-2.1.7-2.fc40.x86_64 from @System
  - cannot install both zlib-ng-compat-2.1.7-1.fc40.x86_64 from updates-archive and zlib-ng-compat-2.1.7-2.fc40.x86_64 from @System
  - package akmod-nvidia-3:555.58.02-1.fc40.x86_64 from rpmfusion-nonfree-nvidia-driver requires akmods, but none of the providers can be installed
  - conflicting requests
naakarg@fedora:~$ 
1 Like

Having the same issue trying to update my silverblue (40.20240913.0) w/ Nvidia drivers installed since the first installation on this system (38). I’m guessing it’s an issue on their end. I hope that it gets fixed tomorrow or at least soon since this is preventing me from updating my system as usual. It’s not the first time that it happens either.

1 Like

Added atomic-desktops and removed gnome

rpm-ostree update should now work.

1 Like

Oh great, will check now if it works for me too :slight_smile:

I can also confirm that it is fixed and works perfectly fine.