Recent errors in dnf update

Since a couple of weeks ago I started getting the following errors on 2 different computers with freshly installed Fedora 42. Any way to resolve them?

$ sudo dnf update --refresh
Updating and loading repositories:
 Fedora 42 openh264 (From Cisco) - x86_64                                                                                                                       100% |   3.8 KiB/s | 989.0   B |  00m00s
 Fedora 42 - x86_64 - Updates                                                                                                                                   100% |  85.4 KiB/s |  30.2 KiB |  00m00s
 Copr repo for PyCharm owned by phracek                                                                                                                         100% |   4.8 KiB/s |   2.1 KiB |  00m00s
 google-chrome                                                                                                                                                  100% |   9.7 KiB/s |   1.3 KiB |  00m00s
 Fedora 42 - x86_64                                                                                                                                             100% | 167.6 KiB/s |  30.3 KiB |  00m00s
 RPM Fusion for Fedora 42 - Free                                                                                                                                100% |   5.1 KiB/s |   4.1 KiB |  00m01s
 RPM Fusion for Fedora 42 - Free - Updates                                                                                                                      100% |  14.5 KiB/s |   3.8 KiB |  00m00s
 RPM Fusion for Fedora 42 - Nonfree - NVIDIA Driver                                                                                                             100% |  25.6 KiB/s |   6.6 KiB |  00m00s
 RPM Fusion for Fedora 42 - Nonfree - Steam                                                                                                                     100% |  24.2 KiB/s |   6.4 KiB |  00m00s
 RPM Fusion for Fedora 42 - Nonfree - Updates                                                                                                                   100% |  24.1 KiB/s |   6.3 KiB |  00m00s
 RPM Fusion for Fedora 42 - Nonfree                                                                                                                             100% |  25.1 KiB/s |   6.9 KiB |  00m00s
 google-chrome                                                                                                                                                  100% |  18.0 KiB/s |   3.3 KiB |  00m00s
Repositories loaded.
Problem 1: package rocm-opencl-devel-6.3.1-4.fc42.x86_64 from updates requires OpenCL-ICD-Loader-devel(x86-64), but none of the providers can be installed
  - installed package ocl-icd-devel-2.3.3-1.fc42.x86_64 conflicts with ocl-icd-devel provided by OpenCL-ICD-Loader-devel-3.0.6-2.20241023git5907ac1.fc42.x86_64 from fedora
  - cannot install the best update candidate for package rocm-opencl-devel-6.3.1-3.fc42.x86_64
  - cannot install the best update candidate for package ocl-icd-devel-2.3.3-1.fc42.x86_64
 Problem 2: installed package kodi-21.2-5.fc42.x86_64 requires libcec.so.6()(64bit), but none of the providers can be installed
  - cannot install both libcec-7.0.0-2.fc42.x86_64 from updates and libcec-6.0.2-19.fc42.x86_64 from @System
  - cannot install both libcec-6.0.2-19.fc42.x86_64 from fedora and libcec-7.0.0-2.fc42.x86_64 from updates
  - cannot install the best update candidate for package libcec-6.0.2-19.fc42.x86_64
  - cannot install the best update candidate for package kodi-21.2-5.fc42.x86_64
 Problem 3: problem with installed package
  - package rocm-opencl-devel-6.3.1-4.fc42.x86_64 from updates requires OpenCL-ICD-Loader-devel(x86-64), but none of the providers can be installed
  - installed package rocm-opencl-devel-6.3.1-3.fc42.x86_64 requires rocm-opencl(x86-64) = 6.3.1-3.fc42, but none of the providers can be installed
  - package rocm-opencl-devel-6.3.1-3.fc42.x86_64 from fedora requires rocm-opencl(x86-64) = 6.3.1-3.fc42, but none of the providers can be installed
  - package OpenCL-ICD-Loader-devel-3.0.6-2.20241023git5907ac1.fc42.x86_64 from fedora requires OpenCL-ICD-Loader = 3.0.6-2.20241023git5907ac1.fc42, but none of the providers can be installed
  - cannot install both rocm-opencl-6.3.1-4.fc42.x86_64 from updates and rocm-opencl-6.3.1-3.fc42.x86_64 from @System
  - cannot install both rocm-opencl-6.3.1-3.fc42.x86_64 from fedora and rocm-opencl-6.3.1-4.fc42.x86_64 from updates
  - installed package ocl-icd-2.3.3-1.fc42.x86_64 conflicts with ocl-icd provided by OpenCL-ICD-Loader-3.0.6-2.20241023git5907ac1.fc42.i686 from fedora
  - installed package ocl-icd-2.3.3-1.fc42.x86_64 conflicts with ocl-icd provided by OpenCL-ICD-Loader-3.0.6-2.20241023git5907ac1.fc42.x86_64 from fedora
  - cannot install the best update candidate for package rocm-opencl-6.3.1-3.fc42.x86_64
  - cannot install the best update candidate for package ocl-icd-2.3.3-1.fc42.x86_64

Package                                                             Arch            Version                                                              Repository                                 Size
Skipping packages with conflicts:
 libcec                                                             x86_64          7.0.0-2.fc42                                                         updates                               681.9 KiB
 rocm-opencl                                                        x86_64          6.3.1-4.fc42                                                         updates                                 1.8 MiB
 OpenCL-ICD-Loader                                                  i686            3.0.6-2.20241023git5907ac1.fc42                                      fedora                                 89.3 KiB
 OpenCL-ICD-Loader                                                  x86_64          3.0.6-2.20241023git5907ac1.fc42                                      fedora                                 70.7 KiB
 OpenCL-ICD-Loader-devel                                            x86_64          3.0.6-2.20241023git5907ac1.fc42                                      fedora                                 46.6 KiB
Skipping packages with broken dependencies:
 rocm-opencl-devel                                                  x86_64          6.3.1-4.fc42                                                         updates                               837.3 KiB
 OpenCL-ICD-Loader-devel                                            x86_64          3.0.6-2.20241023git5907ac1.fc42                                      fedora                                 46.6 KiB
 rocm-opencl-devel                                                  x86_64          6.3.1-3.fc42                                                         fedora                                837.3 KiB

Nothing to do.
sudo dnf swap ocl-icd-devel OpenCL-ICD-Loader-devel --allowerasing
1 Like

Thanks a lot, worked like a charm for OpenCL packages.

Now I have these errors left:

$ sudo dnf update --refresh
Updating and loading repositories:
 Fedora 42 openh264 (From Cisco) - x86_64                                                                                                                       100% |   3.7 KiB/s | 989.0   B |  00m00s
 Fedora 42 - x86_64 - Updates                                                                                                                                   100% | 126.2 KiB/s |  22.8 KiB |  00m00s
 Copr repo for PyCharm owned by phracek                                                                                                                         100% |   7.0 KiB/s |   2.1 KiB |  00m00s
 google-chrome                                                                                                                                                  100% |  13.0 KiB/s |   1.3 KiB |  00m00s
 Fedora 42 - x86_64                                                                                                                                             100% |  83.3 KiB/s |  30.8 KiB |  00m00s
 RPM Fusion for Fedora 42 - Free                                                                                                                                100% |  15.0 KiB/s |   4.1 KiB |  00m00s
 RPM Fusion for Fedora 42 - Free - Updates                                                                                                                      100% |  13.8 KiB/s |   3.8 KiB |  00m00s
 RPM Fusion for Fedora 42 - Nonfree - NVIDIA Driver                                                                                                             100% |  23.6 KiB/s |   6.6 KiB |  00m00s
 RPM Fusion for Fedora 42 - Nonfree - Steam                                                                                                                     100% |  22.5 KiB/s |   6.4 KiB |  00m00s
 RPM Fusion for Fedora 42 - Nonfree - Updates                                                                                                                   100% |  23.1 KiB/s |   6.3 KiB |  00m00s
 RPM Fusion for Fedora 42 - Nonfree                                                                                                                             100% |  24.2 KiB/s |   6.9 KiB |  00m00s
Repositories loaded.
Problem: installed package kodi-21.2-5.fc42.x86_64 requires libcec.so.6()(64bit), but none of the providers can be installed
  - cannot install both libcec-7.0.0-2.fc42.x86_64 from updates and libcec-6.0.2-19.fc42.x86_64 from @System
  - cannot install both libcec-6.0.2-19.fc42.x86_64 from fedora and libcec-7.0.0-2.fc42.x86_64 from updates
  - cannot install the best update candidate for package libcec-6.0.2-19.fc42.x86_64
  - cannot install the best update candidate for package kodi-21.2-5.fc42.x86_64

Package                                                             Arch            Version                                                              Repository                                 Size
Skipping packages with conflicts:
 libcec                                                             x86_64          7.0.0-2.fc42                                                         updates                               681.9 KiB

Nothing to do
sudo dnf upgrade kodi\* --enable-repo=rpmfusion-\*-testing
1 Like

Thank you, Vlad, I’ll wait for official repo update. It is not urgent for me. Unless you want me to test updates for Kodi.