Resolved: rpm-ostree upgrade fails for akmod-nvidia while kernel also to be updated from 6.5. to 6.6 on silverblue 39

New Kernel new drivers !

tmstaedt commented

Well, this is resolved by first removing akmod-nvidia from the layered packages, reboot, then do the rpm-ostree upgrade, which upgrades the kernel to 6.6., reboot again and install akmod-nvidia again

I’m on a newly installed Silverblue and I still couldn’t install Nvidia packages.I checked that my kernel has already been updated to 6.6.

dadstick@fedora:~$ rpm-ostree install akmod-nvidia xorg-x11-drv-nvidia
Checking out tree 404bccd... done
Enabled rpm-md repositories: fedora-cisco-openh264 updates fedora copr:copr.fedorainfracloud.org:phracek:PyCharm rpmfusion-nonfree-nvidia-driver google-chrome rpmfusion-nonfree-steam copr:copr.fedorainfracloud.org:lukenukem:asus-linux updates-archive
Importing rpm-md... done
rpm-md repo 'fedora-cisco-openh264' (cached); generated: 2023-03-14T10:57:01Z solvables: 4
rpm-md repo 'updates' (cached); generated: 2023-11-28T01:19:49Z solvables: 14067
rpm-md repo 'fedora' (cached); generated: 2023-11-01T00:12:39Z solvables: 70825
rpm-md repo 'copr:copr.fedorainfracloud.org:phracek:PyCharm' (cached); generated: 2023-08-10T15:35:19Z solvables: 5
rpm-md repo 'rpmfusion-nonfree-nvidia-driver' (cached); generated: 2023-11-24T21:19:35Z solvables: 29
rpm-md repo 'google-chrome' (cached); generated: 2023-11-28T19:35:27Z solvables: 3
rpm-md repo 'rpmfusion-nonfree-steam' (cached); generated: 2023-08-10T16:27:35Z solvables: 2
rpm-md repo 'copr:copr.fedorainfracloud.org:lukenukem:asus-linux' (cached); generated: 2023-09-17T07:23:25Z solvables: 5
rpm-md repo 'updates-archive' (cached); generated: 2023-11-26T03:04:34Z solvables: 12832
Resolving dependencies... done
error: Could not depsolve transaction; 2 problems detected:
 Problem 1: package akmods-0.5.8-2.fc39.noarch from fedora requires (kernel-devel-matched if kernel-core), but none of the providers can be installed
  - package kernel-devel-matched-6.5.12-300.fc39.x86_64 from updates requires kernel-core = 6.5.12-300.fc39, but none of the providers can be installed
  - package kernel-devel-matched-6.5.12-300.fc39.x86_64 from updates-archive requires kernel-core = 6.5.12-300.fc39, but none of the providers can be installed
  - package kernel-devel-matched-6.5.6-300.fc39.x86_64 from fedora requires kernel-core = 6.5.6-300.fc39, but none of the providers can be installed
  - package kernel-devel-matched-6.5.10-300.fc39.x86_64 from updates-archive requires kernel-core = 6.5.10-300.fc39, but none of the providers can be installed
  - package kernel-devel-matched-6.5.11-300.fc39.x86_64 from updates-archive requires kernel-core = 6.5.11-300.fc39, but none of the providers can be installed
  - package kernel-devel-matched-6.5.9-300.fc39.x86_64 from updates-archive requires kernel-core = 6.5.9-300.fc39, but none of the providers can be installed
  - cannot install both kernel-core-6.5.12-300.fc39.x86_64 from updates and kernel-core-6.6.2-201.fc39.x86_64 from @System
  - cannot install both kernel-core-6.5.6-300.fc39.x86_64 from fedora and kernel-core-6.6.2-201.fc39.x86_64 from @System
  - cannot install both kernel-core-6.5.10-300.fc39.x86_64 from updates-archive and kernel-core-6.6.2-201.fc39.x86_64 from @System
  - cannot install both kernel-core-6.5.11-300.fc39.x86_64 from updates-archive and kernel-core-6.6.2-201.fc39.x86_64 from @System
  - cannot install both kernel-core-6.5.12-300.fc39.x86_64 from updates-archive and kernel-core-6.6.2-201.fc39.x86_64 from @System
  - cannot install both kernel-core-6.5.9-300.fc39.x86_64 from updates-archive and kernel-core-6.6.2-201.fc39.x86_64 from @System
  - package akmod-nvidia-3:535.129.03-1.fc39.x86_64 from rpmfusion-nonfree-nvidia-driver requires akmods, but none of the providers can be installed
  - conflicting requests
 Problem 2: package kmod-nvidia-3:535.129.03-1.fc39.x86_64 from rpmfusion-nonfree-nvidia-driver requires akmod-nvidia = 3:535.129.03-1.fc39, but none of the providers can be installed
  - package xorg-x11-drv-nvidia-3:535.129.03-2.fc39.x86_64 from rpmfusion-nonfree-nvidia-driver requires nvidia-kmod >= 3:535.129.03, but none of the providers can be installed
  - package akmod-nvidia-3:535.129.03-1.fc39.x86_64 from rpmfusion-nonfree-nvidia-driver requires akmods, but none of the providers can be installed
  - package akmods-0.5.8-2.fc39.noarch from fedora requires (kernel-devel-matched if kernel-core), but none of the providers can be installed
  - package kernel-devel-matched-6.5.12-300.fc39.x86_64 from updates requires kernel-core = 6.5.12-300.fc39, but none of the providers can be installed
  - package kernel-devel-matched-6.5.12-300.fc39.x86_64 from updates-archive requires kernel-core = 6.5.12-300.fc39, but none of the providers can be installed
  - package kernel-devel-matched-6.5.6-300.fc39.x86_64 from fedora requires kernel-core = 6.5.6-300.fc39, but none of the providers can be installed
  - package kernel-devel-matched-6.5.10-300.fc39.x86_64 from updates-archive requires kernel-core = 6.5.10-300.fc39, but none of the providers can be installed
  - package kernel-devel-matched-6.5.11-300.fc39.x86_64 from updates-archive requires kernel-core = 6.5.11-300.fc39, but none of the providers can be installed
  - package kernel-devel-matched-6.5.9-300.fc39.x86_64 from updates-archive requires kernel-core = 6.5.9-300.fc39, but none of the providers can be installed
  - cannot install both kernel-core-6.5.12-300.fc39.x86_64 from updates and kernel-core-6.6.2-201.fc39.x86_64 from @System
  - cannot install both kernel-core-6.5.6-300.fc39.x86_64 from fedora and kernel-core-6.6.2-201.fc39.x86_64 from @System
  - cannot install both kernel-core-6.5.10-300.fc39.x86_64 from updates-archive and kernel-core-6.6.2-201.fc39.x86_64 from @System
  - cannot install both kernel-core-6.5.11-300.fc39.x86_64 from updates-archive and kernel-core-6.6.2-201.fc39.x86_64 from @System
  - cannot install both kernel-core-6.5.12-300.fc39.x86_64 from updates-archive and kernel-core-6.6.2-201.fc39.x86_64 from @System
  - cannot install both kernel-core-6.5.9-300.fc39.x86_64 from updates-archive and kernel-core-6.6.2-201.fc39.x86_64 from @System
  - package kernel-6.6.2-201.fc39.x86_64 from @System requires kernel-core-uname-r = 6.6.2-201.fc39.x86_64, but none of the providers can be installed
  - conflicting requests

are you sure you are running the 6.6. kernel. In the output it looks like it’s still 6.5.

Can you post the output of rpm-ostree status

Yes I’m running 6.6 kernel. I was able to install Nvidia this morning. Maybe the RPM Fusion repo was out of synced yesterday. Thank you!