Dnf upgrades to cuda560 failing on fc39

The upgrades to cuda 560 on my fc39 os have been failing for the last month + , and I haven’t seen a fix posted. However I see other users are successfully using cuda560, though perhaps not on fc39. Can you advise how to unblock? Thanks!

Failure message is
Skipping packages with conflicts:

(add ‘–best --allowerasing’ to command line to force their upgrade):
xorg-x11-drv-nvidia-cuda-libs
x86_64 3:560.35.03-5.fc39 rpmfusion-nonfree-nvidia-driver 41 M
xorg-x11-drv-nvidia-kmodsrc
x86_64 3:560.35.03-5.fc39 rpmfusion-nonfree-nvidia-driver 54 M
xorg-x11-drv-nvidia-libs
x86_64 3:560.35.03-5.fc39 rpmfusion-nonfree-updates 63 M
xorg-x11-drv-nvidia-libs
x86_64 3:560.35.03-5.fc39 rpmfusion-nonfree-nvidia-driver 63 M
Skipping packages with broken dependencies:
akmod-nvidia x86_64 3:560.35.03-1.fc39 rpmfusion-nonfree-nvidia-driver 42 k
cuda x86_64 12.6.3-1 cuda-fedora39-x86_64
xorg-x11-drv-nvidia
x86_64 3:560.35.03-5.fc39 rpmfusion-nonfree-nvidia-driver 133 M
xorg-x11-drv-nvidia-cuda
x86_64 3:560.35.03-5.fc39 rpmfusion-nonfree-nvidia-driver 2.2 M
xorg-x11-drv-nvidia-devel
x86_64 3:560.35.03-5.fc39 rpmfusion-nonfree-nvidia-driver 12 k
xorg-x11-drv-nvidia-power
x86_64 3:560.35.03-5.fc39 rpmfusion-nonfree-nvidia-driver 103 k

When I try dnf --best --allowerasing upgrade
rror:
Problem 1: cannot install the best update candidate for package xorg-x11-drv-nvidia-3:555.58.02-1.fc39.x86_64

  • problem with installed package xorg-x11-drv-nvidia-3:555.58.02-1.fc39.x86_64
  • package xorg-x11-drv-nvidia-3:560.35.03-5.fc39.x86_64 from rpmfusion-nonfree-nvidia-driver requires nvidia-settings(x86-64) = 3:560.35.03, but none of the providers can be installed
  • package xorg-x11-drv-nvidia-3:560.35.03-5.fc39.x86_64 from rpmfusion-nonfree-updates requires nvidia-settings(x86-64) = 3:560.35.03, but none of the providers can be installed
    … many other similar messages.

My enabled relevant repos (not debug and source entries) are: cuda-fedora39.repo, rpmfusion-free.repo, rpmfusion-free-updates.repo, rpmfusion-nonfree-nvidia-driver.repo, rpmfusion-nonfree.repo, rpmfusion-nonfree-steam.repo, rpmfusion-nonfree-updates.repo

I am still running cuda 3:555.58.02-1.fc39 modules, including nvidia-settings-3:555.58.02-1.fc39.x86_64

Packages from this repo do conflict with packages from the rpmfusion repos.

You also must keep all the nvidia packages in sync with versions. The fact you have both 555 and 560 packages is one of the causes for those errors.

Please show us the output of dnf list --installed \*nvidia\* so we can see the installed packages as well as the source of those packages.

I hope you are aware that f39 has been EOL for at least 2 months and no updates are available for anything on it from fedora.

My first suggestion is to update fedora to one of the still supported versions (preferably the newest)

My second suggestion (and what must be done first) is to follow the mostly suggested solution for those conflicts and install everything nvidia from rpmfusion only. If that is not possible then at least install from only one repo and do not mix the sources since that is almost 100% certain to result in the type errors you are seeing now.

Nice to have your help again Jeff! I know about the fc90 eol, but I depend on some rather large apps that need rebuilding after an upgrade, and CERN support for fedora is unofficial and likely behind. So it can take me a week to recover my productivity.

Now to my cuda problem. It seems that it is all originating from rpmfusion. I’ve done without the NVIDIA support for DNN because it requires an NVIDIA repo.

Blockquote
olin@lenolin:~$ dnf list --installed *nvidia*
Installed Packages
akmod-nvidia.x86_64 3:555.58.02-1.fc39 @rpmfusion-nonfree-nvidia-driver
kmod-nvidia-6.11.5-100.fc39.x86_64.x86_64 3:555.58.02-1.fc39 @@commandline
kmod-nvidia-6.11.6-100.fc39.x86_64.x86_64 3:555.58.02-1.fc39 @@commandline
kmod-nvidia-6.11.9-100.fc39.x86_64.x86_64 3:555.58.02-1.fc39 @@commandline
nvidia-gpu-firmware.noarch 20241110-1.fc39 @updates
nvidia-modprobe.x86_64 3:555.58.02-1.fc39 @rpmfusion-nonfree-nvidia-driver
nvidia-persistenced.x86_64 3:555.58.02-1.fc39 @rpmfusion-nonfree-nvidia-driver
nvidia-settings.x86_64 3:555.58.02-1.fc39 @rpmfusion-nonfree-nvidia-driver
nvidia-xconfig.x86_64 3:555.58.02-1.fc39 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia.x86_64 3:555.58.02-1.fc39 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda.x86_64 3:555.58.02-1.fc39 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64 3:555.58.02-1.fc39 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-devel.x86_64 3:555.58.02-1.fc39 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-kmodsrc.x86_64 3:555.58.02-1.fc39 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.x86_64 3:555.58.02-1.fc39 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-power.x86_64 3:555.58.02-1.fc39 @rpmfusion-nonfree-nvidia-driver

> Blockquote

I believe that 560.35.03 was the last driver packaged for f39

# dnf list akmod-nvidia --releasever=39
Updating and loading repositories:
Repositories loaded.
Available packages
akmod-nvidia.x86_64 3:560.35.03-1.fc39 rpmfusion-nonfree-updates
akmod-nvidia.x86_64 3:560.35.03-1.fc39 rpmfusion-nonfree-nvidia-driver

That listing seems correct for f39 but when you update to f40 or f41 those drivers should be updated to the 565.77 driver version.

You may be able to update the nvidia drivers separately (though I don’t know if the 565 driver will function with the 6.11 kernels.)
For f39 you should be able to update the nvidia drivers with sudo dnf upgrade akmod-nvidia or sudo dnf upgrade \*nvidia\*.

Both f40 and f41 are using the 6.12 kernels and the nvidia 565.77 drivers.

I might suggest that you update the kernel to 6.12 (which may not impact your other app that still requires rebuild for the updates) (sudo dnf upgrade kernel* --releasever=40) should handle that.
If there are problems with your other app then you still should be able to boot from the 6.11.9 kernel.

If the kernel upgrade works then, while booted into the 6.12 kernel, upgrade the nvidia drivers the same way. (sudo dnf upgrade akmod-nvidia --releasever=40) which should bump those drivers up to the 565.77 version.

Just an FYI
In the future, please use the preformatted text tags (the </> button) instead of the block quote tags (the " button) so the text you paste remains formatted the same as seen on screen.

Brilliant solution Jeff!! The upgrade to cuda 565.77 from f40 worked and did not break my code. Thanks.

1 Like