Nvidia driver update broken after installing nvidia-container-toolkit

Hi there,

ever since I installed the nvidia-container-toolkit (by following the guide on Installing the NVIDIA Container Toolkit — NVIDIA Container Toolkit 1.17.3 documentation) dnf shows a couple of problems when trying to update the nvidia drivers:

Problem 1: package xorg-x11-drv-nvidia-xorg-libs-3:565.77-3.fc40.x86_64 from rpmfusion-nonfree-nvidia-driver requires xorg-x11-drv-nvidia(x86-64) = 3:565.77, but none of the providers can be installed
  - Installation des besten Update-Kandidaten nicht möglich für das Paket xorg-x11-drv-nvidia-xorg-libs-3:560.35.03-5.fc40.x86_64
  - package xorg-x11-drv-nvidia-3:565.77-3.fc40.x86_64 from rpmfusion-nonfree-nvidia-driver is filtered out by modular filtering
  - package xorg-x11-drv-nvidia-3:565.77-3.fc40.x86_64 from rpmfusion-nonfree-updates is filtered out by modular filtering
 Problem 2: package xorg-x11-drv-nvidia-power-3:565.77-3.fc40.x86_64 from rpmfusion-nonfree-nvidia-driver requires xorg-x11-drv-nvidia(x86-64) = 3:565.77, but none of the providers can be installed
  - Installation des besten Update-Kandidaten nicht möglich für das Paket xorg-x11-drv-nvidia-power-3:560.35.03-5.fc40.x86_64
  - package xorg-x11-drv-nvidia-3:565.77-3.fc40.x86_64 from rpmfusion-nonfree-nvidia-driver is filtered out by modular filtering
  - package xorg-x11-drv-nvidia-3:565.77-3.fc40.x86_64 from rpmfusion-nonfree-updates is filtered out by modular filtering
 Problem 3: package akmod-nvidia-3:565.77-1.fc40.x86_64 from rpmfusion-nonfree-nvidia-driver requires nvidia-kmod-common >= 3:565.77, but none of the providers can be installed
  - Installation des besten Update-Kandidaten nicht möglich für das Paket akmod-nvidia-3:560.35.03-1.fc40.x86_64
  - package xorg-x11-drv-nvidia-3:565.77-3.fc40.x86_64 from rpmfusion-nonfree-nvidia-driver is filtered out by modular filtering
  - package xorg-x11-drv-nvidia-3:565.77-3.fc40.x86_64 from rpmfusion-nonfree-updates is filtered out by modular filtering
 Problem 4: cannot install both nvidia-modprobe-3:565.57.01-1.fc40.x86_64 from cuda-fedora40-x86_64 and nvidia-modprobe-3:560.35.03-1.fc40.x86_64 from @System
  - package xorg-x11-drv-nvidia-3:560.35.03-5.fc40.x86_64 from @System requires nvidia-modprobe(x86-64) = 3:560.35.03, but none of the providers can be installed
  - Installation des besten Update-Kandidaten nicht möglich für das Paket nvidia-modprobe-3:560.35.03-1.fc40.x86_64
  - Problem mit installiertem Paket xorg-x11-drv-nvidia-3:560.35.03-5.fc40.x86_64
 Problem 5: cannot install both nvidia-persistenced-3:565.57.01-1.fc40.x86_64 from cuda-fedora40-x86_64 and nvidia-persistenced-3:560.35.03-1.fc40.x86_64 from @System
  - package xorg-x11-drv-nvidia-cuda-3:560.35.03-5.fc40.x86_64 from @System requires nvidia-persistenced(x86-64) = 3:560.35.03, but none of the providers can be installed
  - Installation des besten Update-Kandidaten nicht möglich für das Paket nvidia-persistenced-3:560.35.03-1.fc40.x86_64
  - Problem mit installiertem Paket xorg-x11-drv-nvidia-cuda-3:560.35.03-5.fc40.x86_64
 Problem 6: package nvidia-driver-3:565.57.01-1.fc40.x86_64 from cuda-fedora40-x86_64 requires libnvidia-glcore.so.565.57.01()(64bit), but none of the providers can be installed
  - package nvidia-driver-3:565.57.01-1.fc40.x86_64 from cuda-fedora40-x86_64 requires libnvidia-glvkspirv.so.565.57.01()(64bit), but none of the providers can be installed
  - package nvidia-driver-3:565.57.01-1.fc40.x86_64 from cuda-fedora40-x86_64 requires libnvidia-gpucomp.so.565.57.01()(64bit), but none of the providers can be installed
  - package nvidia-driver-3:565.57.01-1.fc40.x86_64 from cuda-fedora40-x86_64 requires libnvidia-tls.so.565.57.01()(64bit), but none of the providers can be installed
  - package nvidia-driver-3:565.57.01-1.fc40.x86_64 from cuda-fedora40-x86_64 requires nvidia-driver-libs(x86-64) = 3:565.57.01, but none of the providers can be installed
  - package nvidia-driver-libs-3:565.57.01-1.fc40.x86_64 from cuda-fedora40-x86_64 conflicts with xorg-x11-drv-nvidia-libs provided by xorg-x11-drv-nvidia-libs-3:565.77-3.fc40.i686 from rpmfusion-nonfree-nvidia-driver
  - package nvidia-settings-3:565.57.01-1.fc40.x86_64 from cuda-fedora40-x86_64 requires nvidia-driver(x86-64) = 3:565.57.01, but none of the providers can be installed
  - Installation des besten Update-Kandidaten nicht möglich für das Paket xorg-x11-drv-nvidia-libs-3:560.35.03-5.fc40.i686
  - Installation des besten Update-Kandidaten nicht möglich für das Paket nvidia-settings-3:560.35.03-1.fc40.x86_64
 Problem 7: package akmod-nvidia-3:560.35.03-1.fc40.x86_64 from @System requires xorg-x11-drv-nvidia-kmodsrc = 3:560.35.03, but none of the providers can be installed
  - Problem mit installiertem Paket akmod-nvidia-3:560.35.03-1.fc40.x86_64
  - cannot install both xorg-x11-drv-nvidia-kmodsrc-3:565.77-3.fc40.x86_64 from rpmfusion-nonfree-nvidia-driver and xorg-x11-drv-nvidia-kmodsrc-3:560.35.03-5.fc40.x86_64 from @System
  - package akmod-nvidia-3:565.77-1.fc40.x86_64 from rpmfusion-nonfree-nvidia-driver requires nvidia-kmod-common >= 3:565.77, but none of the providers can be installed
  - package akmod-nvidia-3:565.77-1.fc40.x86_64 from rpmfusion-nonfree-updates requires nvidia-kmod-common >= 3:565.77, but none of the providers can be installed
  - Installation des besten Update-Kandidaten nicht möglich für das Paket xorg-x11-drv-nvidia-kmodsrc-3:560.35.03-5.fc40.x86_64
  - package xorg-x11-drv-nvidia-3:565.77-3.fc40.x86_64 from rpmfusion-nonfree-nvidia-driver is filtered out by modular filtering
  - package xorg-x11-drv-nvidia-3:565.77-3.fc40.x86_64 from rpmfusion-nonfree-updates is filtered out by modular filtering
 Problem 8: package xorg-x11-drv-nvidia-xorg-libs-3:560.35.03-5.fc40.x86_64 from @System requires libnvidia-glcore.so.560.35.03()(64bit), but none of the providers can be installed
  - package xorg-x11-drv-nvidia-xorg-libs-3:560.35.03-5.fc40.x86_64 from @System requires libnvidia-tls.so.560.35.03()(64bit), but none of the providers can be installed
  - Problem mit installiertem Paket xorg-x11-drv-nvidia-xorg-libs-3:560.35.03-5.fc40.x86_64
  - cannot install both xorg-x11-drv-nvidia-libs-3:565.77-3.fc40.x86_64 from rpmfusion-nonfree-nvidia-driver and xorg-x11-drv-nvidia-libs-3:560.35.03-5.fc40.x86_64 from @System
  - package xorg-x11-drv-nvidia-xorg-libs-3:565.77-3.fc40.x86_64 from rpmfusion-nonfree-nvidia-driver requires xorg-x11-drv-nvidia(x86-64) = 3:565.77, but none of the providers can be installed
  - package xorg-x11-drv-nvidia-xorg-libs-3:565.77-3.fc40.x86_64 from rpmfusion-nonfree-updates requires xorg-x11-drv-nvidia(x86-64) = 3:565.77, but none of the providers can be installed
  - Installation des besten Update-Kandidaten nicht möglich für das Paket xorg-x11-drv-nvidia-libs-3:560.35.03-5.fc40.x86_64
  - package xorg-x11-drv-nvidia-3:565.77-3.fc40.x86_64 from rpmfusion-nonfree-nvidia-driver is filtered out by modular filtering
  - package xorg-x11-drv-nvidia-3:565.77-3.fc40.x86_64 from rpmfusion-nonfree-updates is filtered out by modular filtering

I saw that there are already other threads with very similar issues, however the proposed solutions didn’t work for me.

Any help would be appreciated!