Could not depsolve transaction while updating Fedora Silverblue 41 (41.20241213.0) with Nvidia drivers

My rpm-ostree status:

Version: 41.20241213.0 (2024-12-13T00:41:34Z)
               BaseCommit: 3894b8541416013fbf8dee0cd34d55fde9d241860286099a03a88b58308ed1ad
             GPGSignature: Valid signature by 466CF2D8B60BC3057AA9453ED0622462E99D6AD1
          LayeredPackages: akmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-cuda

When i updating system, GNOME Software prints error:

Problem: package OpenCL-ICD-Loader-3.0.6-1.20241023git5907ac1.fc41.x86_64 from @System conflicts with ocl-icd provided by ocl-icd-2.3.2-7.fc41.x86_64 from fedora
  - package xorg-x11-drv-nvidia-cuda-3:565.77-1.fc41.x86_64 from rpmfusion-nonfree-nvidia-driver requires ocl-icd(x86-64), but none of the providers can be installed
  - conflicting requests

rpm-ostree update also have this problem.

As far as I understand, the new package conflicts with the one installed on the system. But in the same transaction, the conflicting package must be deleted. The problem only occurs with the Nvidia proprietary drivers installed on several of my devices.

Is there any hope that this will be fixed in Upstream or is it necessary manually?

Fedora 41 was supposed to learn how to work with Nvidia drivers, but they never appeared in GNOME Software, and there are no less problems with installation and use. It’s depressing.

1 Like

Your issue is caused by rpm-ostree, not nvidia.

I have the same issue on Kinoite, I guess this problem will be resolved soon
My system status:

fedora:fedora/41/x86_64/kinoite
                  Version: 41.20241213.0 (2024-12-13T00:45:51Z)
               BaseCommit: eaab9f4181c22a35ac63cd6b1f340929e9a14bc193ba4045952aee733b11c500
             GPGSignature: Valid signature by 466CF2D8B60BC3057AA9453ED0622462E99D6AD1
          LayeredPackages: akmod-nvidia fcitx5-mozc google-noto-fonts-all kcm-fcitx5 python3-pip
                           xorg-x11-drv-nvidia-cuda

And here’s my error:

error: Could not depsolve transaction; 1 problem detected:
 Problem: package OpenCL-ICD-Loader-3.0.6-1.20241023git5907ac1.fc41.x86_64 from @System conflicts with ocl-icd provided by ocl-icd-2.3.2-7.fc41.x86_64 from fedora
  - package xorg-x11-drv-nvidia-cuda-3:565.77-1.fc41.x86_64 from rpmfusion-nonfree-nvidia-driver requires ocl-icd(x86-64), but none of the providers can be installed
  - conflicting requests

It looks like this is the root cause, OpenCL-ICD-Loader was recently added to fedora, it conflicts with the older loader.

https://bodhi.fedoraproject.org/updates/FEDORA-2024-eea2f480f9

https://koji.fedoraproject.org/koji/packageinfo?packageID=41332

Remove/Block OpenCL-ICD-Loader or whatever you do with rpm-ostree

Is this a good solution? In this case, all images received in the future will differ from the official Fedora.

I tested this on a device without Nvidia drivers. Everything has been updated. Do you think if I boot from the base image without layered packages (it is pinned in my rpm-ostree), update, and then reinstall the drivers, will this help solve the problem?

But I’m not saying Nvidia is to blame. It’s just that everything works on a system without Nvidia drivers, because it’s obvious that their presence plays an important role in the error.

The two packages are indeed conflicting:

$ sudo dnf install OpenCL-ICD-Loader ocl-icd
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Problem: conflicting requests
  - package OpenCL-ICD-Loader-3.0.6-1.20241023git5907ac1.fc41.i686 from updates conflicts with ocl-icd provided by ocl-icd-2.3.2-7.fc41.i686 from fedora
  - package OpenCL-ICD-Loader-3.0.6-1.20241023git5907ac1.fc41.i686 from updates conflicts with ocl-icd provided by ocl-icd-2.3.2-7.fc41.x86_64 from fedora
  - package OpenCL-ICD-Loader-3.0.6-1.20241023git5907ac1.fc41.x86_64 from updates conflicts with ocl-icd provided by ocl-icd-2.3.2-7.fc41.i686 from fedora
  - package OpenCL-ICD-Loader-3.0.6-1.20241023git5907ac1.fc41.x86_64 from updates conflicts with ocl-icd provided by ocl-icd-2.3.2-7.fc41.x86_64 from fedora

Do you need CUDA? If not, you could uninstall the layered xorg-x11-drv-nvidia-cuda package, at least until the dependency issue is fixed.

1 Like

I have fixed the dep issue caused by the new package.

https://pkgs.rpmfusion.org/cgit/nonfree/xorg-x11-drv-nvidia.git/commit/?id=ba570044316c594d8af6f96424a5a9fb293567b9

It’s in the testing repo

https://download1.rpmfusion.org/nonfree/fedora/updates/testing/41/x86_64/repoview/xorg-x11-drv-nvidia-cuda.html

4 Likes

Thanks! Hopefully, this change will soon be available from RPM Fusion as well. So far, I have removed xorg-x11-drv-nvidia-cuda, but I really need it, so as soon as the change goes from testing to release, I will immediately test it.

I wonder why other updates on Silverblue not installing (for example Firefox, software, files or Terminal)? Do they depend on a new Nvidia drivers?

rpm-ostree upgrades the system as a whole, instead of upgrading individual packages like dnf does.

Thank you for the explanation : )