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.
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
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.
$ 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.
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.