Kinoite 40: Update going wrong

This morning I had an update which I started and after a while I see this text:

rpm-ostree transaction failed with:
error: Could not depsolve transaction; 2 problems detected:
 Problem 1: conflicting requests
  - package kmod-nvidia-3:550.78-1.fc40.x86_64 from rpmfusion-nonfree-updates requires akmod-nvidia = 3:550.78-1.fc40, but none of the providers can be installed
  - package kmod-nvidia-3:550.67-1.fc40.x86_64 from rpmfusion-nonfree requires akmod-nvidia = 3:550.67-1.fc40, but none of the providers can be installed
  - package akmod-nvidia-3:550.78-1.fc40.x86_64 from rpmfusion-nonfree-updates requires akmods, but none of the providers can be installed
  - package akmod-nvidia-3:550.67-1.fc40.x86_64 from rpmfusion-nonfree requires akmods, but none of the providers can be installed
  - package akmods-0.5.8-8.fc40.noarch from fedora requires gcc, but none of the providers can be installed
  - package gcc-14.1.1-1.fc40.x86_64 from updates requires glibc-devel >= 2.2.90-12, but none of the providers can be installed
  - package gcc-14.1.1-1.fc40.x86_64 from updates-archive requires glibc-devel >= 2.2.90-12, but none of the providers can be installed
  - package glibc-devel-2.39-8.fc40.i686 from updates requires glibc = 2.39-8.fc40, but none of the providers can be installed
  - package glibc-devel-2.39-8.fc40.x86_64 from updates requires glibc = 2.39-8.fc40, but none of the providers can be installed
  - package glibc-devel-2.39-8.fc40.x86_64 from updates-archive requires glibc = 2.39-8.fc40, but none of the providers can be installed
  - package glibc-devel-2.39-6.fc40.i686 from fedora requires glibc = 2.39-6.fc40, but none of the providers can be installed
  - package glibc-devel-2.39-6.fc40.x86_64 from fedora requires glibc = 2.39-6.fc40, but none of the providers can be installed
  - glibc-2.39-8.fc40.i686 from updates  does not belong to a distupgrade repository
  - glibc-2.39-6.fc40.i686 from fedora  does not belong to a distupgrade repository
  - package gcc-14.0.1-0.15.fc40.x86_64 from fedora requires cpp = 14.0.1-0.15.fc40, but none of the providers can be installed
  - cannot install both glibc-2.39-8.fc40.x86_64 from updates and glibc-2.39-13.fc40.x86_64 from @System
  - cannot install both glibc-2.39-6.fc40.x86_64 from fedora and glibc-2.39-13.fc40.x86_64 from @System
  - cannot install both glibc-2.39-8.fc40.x86_64 from updates-archive and glibc-2.39-13.fc40.x86_64 from @System
  - cannot install both cpp-14.0.1-0.15.fc40.x86_64 from fedora and cpp-14.1.1-1.fc40.x86_64 from @System
 Problem 2: conflicting requests
  - package xorg-x11-drv-nvidia-cuda-3:550.67-1.fc40.x86_64 from rpmfusion-nonfree requires nvidia-kmod >= 3:550.67, but none of the providers can be installed
  - package xorg-x11-drv-nvidia-cuda-3:550.78-1.fc40.x86_64 from rpmfusion-nonfree-updates requires nvidia-kmod >= 3:550.78, but none of the providers can be installed
  - package kmod-nvidia-3:550.78-1.fc40.x86_64 from rpmfusion-nonfree-updates requires akmod-nvidia = 3:550.78-1.fc40, but none of the providers can be installed
  - package kmod-nvidia-3:550.67-1.fc40.x86_64 from rpmfusion-nonfree requires akmod-nvidia = 3:550.67-1.fc40, but none of the providers can be installed
  - package akmod-nvidia-3:550.78-1.fc40.x86_64 from rpmfusion-nonfree-updates requires akmods, but none of the providers can be installed
  - package akmod-nvidia-3:550.67-1.fc40.x86_64 from rpmfusion-nonfree requires akmods, but none of the providers can be installed
  - package akmods-0.5.8-8.fc40.noarch from fedora requires gcc, but none of the providers can be installed
  - package gcc-14.1.1-1.fc40.x86_64 from updates requires glibc-devel >= 2.2.90-12, but none of the providers can be installed
  - package gcc-14.1.1-1.fc40.x86_64 from updates-archive requires glibc-devel >= 2.2.90-12, but none of the providers can be installed
  - package gcc-14.0.1-0.15.fc40.x86_64 from fedora requires libgomp = 14.0.1-0.15.fc40, but none of the providers can be installed
  - package glibc-devel-2.39-8.fc40.i686 from updates requires glibc = 2.39-8.fc40, but none of the providers can be installed
  - package glibc-devel-2.39-8.fc40.x86_64 from updates requires glibc = 2.39-8.fc40, but none of the providers can be installed
  - package glibc-devel-2.39-8.fc40.x86_64 from updates-archive requires glibc = 2.39-8.fc40, but none of the providers can be installed
  - package glibc-devel-2.39-6.fc40.i686 from fedora requires glibc = 2.39-6.fc40, but none of the providers can be installed
  - package glibc-devel-2.39-6.fc40.x86_64 from fedora requires glibc = 2.39-6.fc40, but none of the providers can be installed
  - libgomp-14.0.1-0.15.fc40.i686 from fedora  does not belong to a distupgrade repository
  - package glibc-2.39-8.fc40.i686 from updates requires glibc-common = 2.39-8.fc40, but none of the providers can be installed
  - package glibc-2.39-6.fc40.i686 from fedora requires glibc-common = 2.39-6.fc40, but none of the providers can be installed
  - cannot install both glibc-2.39-8.fc40.x86_64 from updates and glibc-2.39-13.fc40.x86_64 from @System
  - cannot install both glibc-2.39-6.fc40.x86_64 from fedora and glibc-2.39-13.fc40.x86_64 from @System
  - cannot install both glibc-2.39-8.fc40.x86_64 from updates-archive and glibc-2.39-13.fc40.x86_64 from @System
  - cannot install both libgomp-14.0.1-0.15.fc40.x86_64 from fedora and libgomp-14.1.1-1.fc40.x86_64 from @System
  - cannot install both glibc-common-2.39-8.fc40.x86_64 from updates and glibc-common-2.39-13.fc40.x86_64 from @System
  - cannot install both glibc-common-2.39-6.fc40.x86_64 from fedora and glibc-common-2.39-13.fc40.x86_64 from @System
  - cannot install both glibc-common-2.39-8.fc40.x86_64 from updates-archive and glibc-common-2.39-13.fc40.x86_64 from @System
  - package glibc-all-langpacks-2.39-13.fc40.x86_64 from @System requires glibc = 2.39-13.fc40, but none of the providers can be installed

I am using Nvidia drivers 550.78, I have installed them using these commands:

Procedure

  1. To install the versioned Free and Nonfree RPM Fusion repos:
$ rpm-ostree install \ https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \ https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm $ systemctl reboot
  1. To replace the versioned RPM Fusion repos that were previously installed with the unversioned repos:
$ rpm-ostree update \ --uninstall rpmfusion-free-release \ --uninstall rpmfusion-nonfree-release \ --install rpmfusion-free-release \ --install rpmfusion-nonfree-release $ systemctl reboot

Then I did this:

  1. First, ensure that your system is fully updated by running sudo rpm-ostree upgrade and rebooting.
  2. Then setup the RPM Fusion repositories following the documentation, including the two reboots.
  3. Finally, install the drivers:
rpm-ostree install kmod-nvidia xorg-x11-drv-nvidia 
# rpm-ostree kargs --append=rd.driver.blacklist=nouveau --append=modprobe.blacklist=nouveau --append=nvidia-drm.modeset=1
#systemctl reboot

What is the best way to solve this issue?

You should not install kmod-nvidia and akmod-nvidia at the same time.
Eliminate the kmod-nvidia from your installation and things should work properly.

On workstation, using dnf for installing the nvidia drivers only 2 packages are needed to be named.
I use dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda and the package manager does everything else needed.

1 Like

Well, I did not install akmod-nvidia. As I wrote it was just kmod-nvidia and the xorg-x11-drv-nvidia-cuda driver.
I got the instructions from this fedora website: https://docs.fedoraproject.org/en-US/fedora-kinoite/troubleshooting/#_using_nvidia_drivers
At the moment there are no updates available so I don’t know yet if things are okay again. Maybe tomorrow I find out. Thanks for the answer.

kmod-nvidia is a packages without any files provided, but which pulls in akmod-nvidia.

You can run

dnf rq -l kmod-nvidia
dnf rq --requires kmod-nvidia

to verify that this is the case.

In the mean time I did remove the kmod package and installed the akmod one. It is strange that on a fedora website page it says to install kmod-nvidia while akmod-nvidia is the better choice.
Thanks again.

@jandemus in the future when you are pasting from the terminal, Could you please use </> preformatted text. It makes it much easier to go through the message.

Two weeks ago I had problems getting updates installed, see above. Today I had a new systemupdate including the Nvidia driver and I got the same problems. (see the long list of errors I got the last time)

Can somebody please tell me what do I need to do after a clean install to get Nvidia working and keep it working when there are updates?

I have used:

rpm-ostree install kmod-nvidia xorg-x11-drv-nvidia-cuda 
rpm-ostree kargs --append=rd.driver.blacklist=nouveau --append=modprobe.blacklist=nouveau --append=nvidia-drm.modeset=1

And I have used:

rpm-ostree install akmod-nvidia xorg-x11-drv-nvidia-cuda
rpm-ostree kargs --append=rd.driver.blacklist=nouveau --append=modprobe.blacklist=nouveau --append=nvidia-drm.modeset=1

But in both ways updates can’t be installed.

So please somebody, give me step-by-step instructions (the more detailed the better) what to do after a clean install cause I am getting fed up with having to re-install the whole system just because there is an update

Thank you very much.

I’m not sure how helpful my response will be but these steps may help you to make upgrade but at the same time may stop you from installing nvidia drivers back (until their dependencies are bumped).
I’m using Silverblue but I don’t think it really matters.

1.rpm-ostree upgrade mentions in the first line of a conflict the package that is causing the problem - uninstall it: rpm-ostree uninstall PACKAGE and reboot - something like:rpm-ostree uninstall kmod-nvidia akmod-nvidia xorg-x11-drv-nvidia, etc.
2. it may happen that rpm-ostree uninstall PACKAGE responds with “is not currently requested” (package not installed) but the conflict still exists, then call: rpm-ostree status and see what has been installed (reported by LayeredPackages) that may be related to the conflict you have: cuda-drivers nvidia-container-toolkit?
3. uninstalling these packages causing conflicts will eventually allow you to make the upgrade but you may not be able to install these NVidia drivers back (since they have an outdated kernel dependency at the moment - at least that’s my guess) - I’d guess it’s a matter of time until they are updated

So maybe - if you don’t’ have to upgrade the system - it’s worth to wait for the problem to solve itself (when NVidia drivers are updated)? (at least - again - that’s my guess)

Thank you for answering.
Do you use Nvidia yourself, and if so, how did you install the driver?

In the mean time I have re-installed Kinoite and am ready to install the Nvidia driver but I don’t know how. Do I use kmod-nvidia or do I use akmod-nvidia? One Fedora website says the first, another says the second.
What is the correct way?

Do I understand your answer correctly when I write the problem I had earlier today is caused by a newer driver but not a newer kernel and I just should have waited till that newer kernel is available? If that is so then I know what to do from now on: wait till the kernel is updated.

Thanks again.

Yes, I did it same way the docs says:

rpm-ostree install kmod-nvidia xorg-x11-drv-nvidia

But at the moment I can’t do that, since this package seems to (indirectly) depend on an older kernel version.

Do I use kmod-nvidia or do I use akmod-nvidia?

One of the lines from the log of installation error on my PC says:
package kmod-nvidia-3:550.67-1.fc40.x86_64 from rpmfusion-nonfree requires akmod-nvidia = 3:550.67-1.fc40, but none of the providers can be installed, so I’d say use it the way official docs say - it seems to depend on akmods anyway.

Do I understand your answer correctly when I write the problem I had earlier today is caused by a newer driver but not a newer kernel and I just should have waited till that newer kernel is available? If that is so then I know what to do from now on: wait till the kernel is updated.

I got back to Fedora (Silverblue) after spending some time using RedHat around 1998… so I missed many developments :slight_smile: and I’m not an expert. But - from the logs - it seems that Fedora repos provide a newer kernel, while NVidia drivers (akmods specifically) depend on an older kernel. Though I may got it completely wrong.

So, this means, since I have a new system right now I can not install the Nvidia drivers because of a mismatch with the kernel version? My kernel is:
6.8.11-300.fc40.x86_64

I will wait some days and see what is happening.
Thanks.

Same as mine: 6.8.11-300.fc40.x86_64

I was going to ask - were you able to install nvidia drivers on that fresh install of yours?

Thanks.

No worries. :slight_smile:

I didn’t try it yet. Am afraid I have to start all over again with installing the OS.

1 Like

BTW, just in case - instead of reinstalling the system, you may want to try: rpm-ostree reset if ever in troubles.

Use the instructions from rpmfusion. That has been the preferred site and the instructions have been around for years. If there is a site that says to use kmod-nvidia please tell us where that is. Those instructions I have seen are related only to RHEL and CentOS so would be invalid for use with fedora.

Hello Jeff,

I did find the instructions to use kmod on this Fedoraproject website:
https://docs.fedoraproject.org/en-US/fedora-kinoite/troubleshooting/#_using_nvidia_drivers

I did install the driver again. First I installed akmods, did a reboot, then the two lines from the website I just mentioned BUT I changed kmod for akmod.
Now let’s see how things go from here.

Are there special rules I have to follow when updates are offered? Can I do a system-update with just one of the two: newer kernel or newer Nvidia? Or should I wait till they both are available?

Ah
I do not use kinoite so was unaware of that referenced doc.
My instructions may have been wrong, or maybe not since rpmfusion also mentions specific instructions for installation on ostree based systems.

My first thought would be to follow the rpmfusion instructions to the letter since they are the ones providing the packages for installation.

rpmfusion only provides compiled tools, the driver libs are compiled by nvidia.
akmod-nvidia is compiled by the users system.
We don’t really consider the atomic releases are fedora at rpmfusion.

https://rpmfusion.org/Howto/NVIDIA?highlight=(\bCategoryHowto\b)#OSTree_.28Silverblue.2FKinoite.2Fetc.29

My comment about compiling may have been wrong and has been changed.

That does not change my understanding that rpmfusion does test every package they provide so we can rely on the software to work. Nor does it change the fact that I rely on rpmfusion much more than packages from any other site (and the instructions on the site pages as well).

I test all my nvidia updates submitted to rpmfusion, they work fine with dnf based systems.
All dependency issues with nvidia are caused by rpm-ostree.
The issue in post #1 is caused by the fedora glibc package.