I am running Fedora Atomic (Kinoite) 41 with the rocm-opencl package overlay. A few updates ago, I believe that OpenCL-ICD-Loader was added to Fedora. This is causing the following error when trying to update the system: "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" Additional information can be found in attached URL. ``` $ rpm-ostree upgrade note: automatic updates (stage) are enabled 2 metadata, 0 content objects fetched; 788 B transferred in 2 seconds; 0 bytes content written Checking out tree 5ec44d0... done Enabled rpm-md repositories: fedora-cisco-openh264 updates fedora updates-archive Updating metadata for 'fedora-cisco-openh264'... done Updating metadata for 'updates'... done Updating metadata for 'fedora'... done Updating metadata for 'updates-archive'... done Importing rpm-md... done rpm-md repo 'fedora-cisco-openh264'; generated: 2024-03-11T19:22:31Z solvables: 3 rpm-md repo 'updates'; generated: 2024-12-16T02:12:16Z solvables: 13766 rpm-md repo 'fedora'; generated: 2024-10-24T13:55:59Z solvables: 76624 rpm-md repo 'updates-archive'; generated: 2024-12-16T02:54:59Z solvables: 16407 Resolving dependencies... done error: Could not depsolve transaction; 1 problem detected: Problem: conflicting requests - package rocm-opencl-6.2.1-2.fc41.x86_64 from updates requires ocl-icd(x86-64), but none of the providers can be installed - package rocm-opencl-6.2.0-1.fc41.x86_64 from fedora requires ocl-icd(x86-64), but none of the providers can be installed - package rocm-opencl-6.2.1-2.fc41.x86_64 from updates-archive requires ocl-icd(x86-64), but none of the providers can be installed - package rocm-opencl-6.2.1-4.fc41.x86_64 from updates-archive requires ocl-icd(x86-64), but none of the providers can be installed - 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 ``` Reproducible: Always Steps to Reproduce: 1.On Fedora Atomic, overlay the rocm-opencl package - rpm-ostree install rocm-opencl 2.Will fail with error in description 3. Actual Results: System fails to update. As is the nature of Fedora Atomic, this error prevents the entire system from updating. Expected Results: Update to succeed.
See previous discussions with potential fix in https://discussion.fedoraproject.org/t/opencl-icd-loader-causing-dependency-issues/139830/5 and https://discussion.fedoraproject.org/t/could-not-depsolve-transaction-while-updating-fedora-silverblue-41-41-20241213-0-with-nvidia-drivers/139642/8
I can also reproduce this bug on Fedora Linux 41.20241212.0 (Silverblue)
Same problem on Fedora Workstation 41, when I tried to install rocm-opencl : sudo dnf install rocm-opencl rocminfo rocm-clinfo rocm-hip rocm-runtime rocm-smi rocm-hip-devel Mise à jour et chargement des dépôts : Dépôts chargés. Échec de la résolution de la transaction: Problème : requêtes conflictuelles - le paquet rocm-opencl-6.2.1-2.fc41.x86_64 de updates requiert ocl-icd(x86-64), mais aucun des fournisseurs ne peut être installé - le paquet rocm-opencl-6.2.0-1.fc41.x86_64 de fedora requiert ocl-icd(x86-64), mais aucun des fournisseurs ne peut être installé - problème avec le paquet installé - le paquet installé OpenCL-ICD-Loader-3.0.6-1.20241023git5907ac1.fc41.x86_64 entre en conflit avec ocl-icd, fourni par ocl-icd-2.3.2-7.fc41.x86_64 de fedora - le paquet OpenCL-ICD-Loader-3.0.6-1.20241023git5907ac1.fc41.x86_64 de updates entre en conflit avec ocl-icd, fourni par ocl-icd-2.3.2-7.fc41.x86_64 de fedora
(In reply to Timothée Ravier from comment #1) > See previous discussions with potential fix in > https://discussion.fedoraproject.org/t/opencl-icd-loader-causing-dependency- > issues/139830/5 > and > https://discussion.fedoraproject.org/t/could-not-depsolve-transaction-while- > updating-fedora-silverblue-41-41-20241213-0-with-nvidia-drivers/139642/8 Thought I should follow up here as well and note this override replace isn't working (https://discussion.fedoraproject.org/t/opencl-icd-loader-causing-dependency-issues/139830/11?u=losuler) and I'm still not able to install rocm-opencl.
Any updates, or workaround on this? I'm using Fedora 41 with KDE. I cannot install rocm-opencl
Yeah I think I need to change the rocm-opencl requires on ocl-icd, I assume it works with either since it's not picky.
Worth noting that this conflict also occurs with the mesa-libOpenCL package as well as the rocm-opencl package.
Any updates on this? I am still unable to install rocm-opencl in Fedora 42. The previously linked workaround also does not work: $ rpm-ostree override replace --from repo='fedora' --experimental --remove=OpenCL-ICD-Loader ocl-icd Inactive base replacements: ocl-icd Checking out tree fc03a6b... done Resolving dependencies... done error: Could not depsolve transaction; 1 problem detected: Problem: package libavutil-free-7.1.1-3.fc42.x86_64 from @System requires libOpenCL.so.1()(64bit), but none of the providers can be installed - package libavutil-free-7.1.1-3.fc42.x86_64 from @System requires libOpenCL.so.1(OPENCL_1.0)(64bit), but none of the providers can be installed - package libavutil-free-7.1.1-3.fc42.x86_64 from @System requires libOpenCL.so.1(OPENCL_1.2)(64bit), but none of the providers can be installed - conflicting requests
I made a fresh install of Fedora Workstation 42. Impossible to install rocm-opencl : rocm-opencl-6.3.1-3.fc42 package ask for ocl-icd-2.3.2-8.fc42.x86_64 OpenCL-ICD-Loader-3.0.6-2 is already installed ocl-icd-2.3.2-8.fc42.x86_64 is in conflict with OpenCL-ICD-Loader-3.0.6-2 Error message (in french) : sudo dnf install rocm-opencl Mise à jour et chargement des dépôts : Dépôts chargés. Échec de la résolution de la transaction: Problème : problème avec le paquet installé - le paquet installé OpenCL-ICD-Loader-3.0.6-2.20241023git5907ac1.fc42.x86_64 entre en conflit avec ocl-icd, fourni par ocl-icd-2.3.2-8.fc42.x86_64 de fedora - le paquet OpenCL-ICD-Loader-3.0.6-2.20241023git5907ac1.fc42.x86_64 de fedora entre en conflit avec ocl-icd, fourni par ocl-icd-2.3.2-8.fc42.x86_64 de fedora - le paquet rocm-opencl-6.3.1-3.fc42.x86_64 de fedora requiert ocl-icd(x86-64), mais aucun des fournisseurs ne peut être installé - requêtes conflictuelles
Hi, sorry I forgot about this. I'll push the fix shortly to rawhide. I can backport to f42/41 too.
FEDORA-2025-8a268a3d2c (rocclr-6.2.1-6.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2025-8a268a3d2c
FEDORA-2025-82140f4d58 (rocclr-6.3.1-4.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2025-82140f4d58
FEDORA-2025-82140f4d58 has been pushed to the Fedora 42 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-82140f4d58` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-82140f4d58 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-8a268a3d2c has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-8a268a3d2c` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-8a268a3d2c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-82140f4d58 (rocclr-6.3.1-4.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2025-8a268a3d2c (rocclr-6.2.1-6.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.