Dnf cannot install the best update candidate for package OpenImageIO

I recently had some issues with video decoding and thus followed a few guides online and I think I ended up adding a new dnf repository which is now causing conflicts:

sudo dnf update
Last metadata expiration check: 1:14:04 ago on Tue 10 Jan 2023 10:16:05 AM CET.
Dependencies resolved.

 Problem 1: package OpenImageIO-2.3.12.0-7.fc35.x86_64 requires libdcmdata.so.16()(64bit), but none of the providers can be installed
  - package OpenImageIO-2.3.12.0-7.fc35.x86_64 requires libdcmimage.so.16()(64bit), but none of the providers can be installed
  - package OpenImageIO-2.3.12.0-7.fc35.x86_64 requires libdcmimgle.so.16()(64bit), but none of the providers can be installed
  - package OpenImageIO-2.3.12.0-7.fc35.x86_64 requires liboflog.so.16()(64bit), but none of the providers can be installed
  - package OpenImageIO-2.3.12.0-7.fc35.x86_64 requires libofstd.so.16()(64bit), but none of the providers can be installed
  - cannot install both dcmtk-3.6.7-1.fc35.x86_64 and dcmtk-3.6.6-5.fc35.x86_64
  - cannot install the best update candidate for package dcmtk-3.6.6-5.fc35.x86_64
  - cannot install the best update candidate for package OpenImageIO-2.3.12.0-7.fc35.x86_64
 Problem 2: package vlc-core-1:3.0.17.3-8.fc35.x86_64 requires libx264.so.163()(64bit), but none of the providers can be installed
  - cannot install both x264-libs-1:0.164-7.git19856cc.fc35.x86_64 and x264-libs-1:0.163-7.git5db6aa6.fc35.x86_64
  - cannot install both x264-libs-0.163-2.20210613git5db6aa6.fc35.x86_64 and x264-libs-1:0.164-7.git19856cc.fc35.x86_64
  - cannot install the best update candidate for package x264-libs-1:0.163-7.git5db6aa6.fc35.x86_64
  - cannot install the best update candidate for package vlc-core-1:3.0.17.3-8.fc35.x86_64
 Problem 3: package obs-studio-libs-27.2.3-7.git630637e.fc35.x86_64 requires libx264.so.163()(64bit), but none of the providers can be installed
  - cannot install both x264-libs-1:0.164-7.git19856cc.fc35.x86_64 and x264-libs-1:0.163-7.git5db6aa6.fc35.x86_64
  - cannot install both x264-libs-0.163-2.20210613git5db6aa6.fc35.x86_64 and x264-libs-1:0.164-7.git19856cc.fc35.x86_64
  - package ffmpeg-libs-5.0.1-14.fc35.x86_64 requires libx264.so.164()(64bit), but none of the providers can be installed
  - cannot install the best update candidate for package obs-studio-libs-27.2.3-7.git630637e.fc35.x86_64
  - cannot install the best update candidate for package ffmpeg-libs-5.0-10.fc35.x86_64
 Problem 4: package gstreamer1-plugins-ugly-1.19.3-7.git499d3cd.fc35.x86_64 requires libx264.so.163()(64bit), but none of the providers can be installed
  - cannot install both x264-libs-1:0.164-7.git19856cc.fc35.x86_64 and x264-libs-1:0.163-7.git5db6aa6.fc35.x86_64
  - cannot install both x264-libs-0.163-2.20210613git5db6aa6.fc35.x86_64 and x264-libs-1:0.164-7.git19856cc.fc35.x86_64
  - package ffmpeg4-libs-4.4.1-5.fc35.x86_64 requires libx264.so.164()(64bit), but none of the providers can be installed
  - cannot install the best update candidate for package gstreamer1-plugins-ugly-1.19.3-7.git499d3cd.fc35.x86_64
  - cannot install the best update candidate for package ffmpeg4-libs-4.4.1-3.fc35.x86_64
 Problem 5: package vlc-1:3.0.17.3-8.fc35.x86_64 requires libvlc_xcb_events.so.0()(64bit), but none of the providers can be installed
  - package vlc-1:3.0.17.3-8.fc35.x86_64 requires libvlccore.so.9()(64bit), but none of the providers can be installed
  - package vlc-core-1:3.0.17.3-8.fc35.x86_64 requires libx264.so.163()(64bit), but none of the providers can be installed
  - cannot install both x264-libs-1:0.164-7.git19856cc.fc35.x86_64 and x264-libs-1:0.163-7.git5db6aa6.fc35.x86_64
  - cannot install both x264-libs-0.163-2.20210613git5db6aa6.fc35.x86_64 and x264-libs-1:0.164-7.git19856cc.fc35.x86_64
  - package vlc-core-1:3.0.16-5.fc35.x86_64 requires live555(x86-64) = 2020.07.31, but none of the providers can be installed
  - package vlc-core-1:3.0.16-5.fc35.x86_64 requires libgroupsock.so.8()(64bit), but none of the providers can be installed
  - package vlc-core-1:3.0.16-5.fc35.x86_64 requires libliveMedia.so.79()(64bit), but none of the providers can be installed
  - package vlc-core-1:3.0.18-1.fc35.x86_64 requires live555(x86-64) = 2022.02.07, but none of the providers can be installed
  - package vlc-core-1:3.0.18-1.fc35.x86_64 requires libliveMedia.so.106()(64bit), but none of the providers can be installed
  - package x264-1:0.164-7.git19856cc.fc35.x86_64 requires x264-libs = 1:0.164-7.git19856cc.fc35, but none of the providers can be installed
  - cannot install both live555-2020.07.31-4.fc35.x86_64 and live555-2021.08.24-7.fc35.x86_64
  - cannot install both live555-2022.02.07-1.fc35.x86_64 and live555-2021.08.24-7.fc35.x86_64
  - cannot install the best update candidate for package x264-1:0.163-7.git5db6aa6.fc35.x86_64
  - cannot install the best update candidate for package vlc-1:3.0.17.3-8.fc35.x86_64
  - cannot install the best update candidate for package live555-2021.08.24-7.fc35.x86_64
 Problem 6: problem with installed package vlc-core-1:3.0.17.3-8.fc35.x86_64
  - package vlc-core-1:3.0.17.3-8.fc35.x86_64 requires libx264.so.163()(64bit), but none of the providers can be installed
  - package vlc-core-1:3.0.18-1.fc35.x86_64 requires libx264.so.163()(64bit), but none of the providers can be installed
  - cannot install both x264-libs-1:0.164-7.git19856cc.fc35.x86_64 and x264-libs-1:0.163-7.git5db6aa6.fc35.x86_64
  - cannot install both x264-libs-0.163-2.20210613git5db6aa6.fc35.x86_64 and x264-libs-1:0.164-7.git19856cc.fc35.x86_64
  - package ffmpeg-libs-5.0.1-14.fc35.x86_64 requires libx264.so.164()(64bit), but none of the providers can be installed
  - package ffmpeg-5.0.1-14.fc35.x86_64 requires ffmpeg-libs(x86-64) = 5.0.1-14.fc35, but none of the providers can be installed
  - cannot install the best update candidate for package ffmpeg-5.0-10.fc35.x86_64
=============================================================================================================================================================================================================================================
 Package                                            Architecture                                 Version                                                                  Repository                                                    Size
=============================================================================================================================================================================================================================================
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 dcmtk                                              x86_64                                       3.6.7-1.fc35                                                             updates                                                      7.9 M
 live555                                            x86_64                                       2020.07.31-4.fc35                                                        rpmfusion-free                                               426 k
 live555                                            x86_64                                       2022.02.07-1.fc35                                                        rpmfusion-free-updates                                       432 k
 x264-libs                                          x86_64                                       0.163-2.20210613git5db6aa6.fc35                                          rpmfusion-free                                               677 k
 x264-libs                                          x86_64                                       1:0.164-7.git19856cc.fc35                                                unitedrpms                                                   667 k
Skipping packages with broken dependencies:
 ffmpeg                                             x86_64                                       5.0.1-14.fc35                                                            unitedrpms                                                   1.7 M
 ffmpeg-libs                                        x86_64                                       5.0.1-14.fc35                                                            unitedrpms                                                   8.5 M
 ffmpeg4-libs                                       x86_64                                       4.4.1-5.fc35                                                             unitedrpms                                                   8.4 M
 vlc-core                                           x86_64                                       1:3.0.16-5.fc35                                                          rpmfusion-free                                               9.6 M
 vlc-core                                           x86_64                                       1:3.0.18-1.fc35                                                          rpmfusion-free-updates                                       9.6 M
 x264                                               x86_64                                       1:0.164-7.git19856cc.fc35                                                unitedrpms                                                   731 k

Transaction Summary
=============================================================================================================================================================================================================================================
Skip  11 Packages

Nothing to do.
Complete!

Trying the advice dnf gives me, still results in an error:

[fedora@fedora ~]$ sudo dnf update --best --allowerasing
Last metadata expiration check: 1:14:23 ago on Tue 10 Jan 2023 10:16:05 AM CET.
Error: 
 Problem: cannot install the best update candidate for package OpenImageIO-2.3.12.0-7.fc35.x86_64
  - problem with installed package OpenImageIO-2.3.12.0-7.fc35.x86_64
  - package OpenImageIO-2.3.12.0-7.fc35.x86_64 requires libdcmdata.so.16()(64bit), but none of the providers can be installed
  - package OpenImageIO-2.3.12.0-7.fc35.x86_64 requires libdcmimage.so.16()(64bit), but none of the providers can be installed
  - package OpenImageIO-2.3.12.0-7.fc35.x86_64 requires libdcmimgle.so.16()(64bit), but none of the providers can be installed
  - package OpenImageIO-2.3.12.0-7.fc35.x86_64 requires liboflog.so.16()(64bit), but none of the providers can be installed
  - package OpenImageIO-2.3.12.0-7.fc35.x86_64 requires libofstd.so.16()(64bit), but none of the providers can be installed
  - cannot install the best update candidate for package dcmtk-3.6.6-5.fc35.x86_64
  - cannot install both dcmtk-3.6.7-1.fc35.x86_64 and dcmtk-3.6.6-5.fc35.x86_64
(try to add '--skip-broken' to skip uninstallable packages)

Even after adding ‘–skip-broken’, I still get an error:

[fedora@fedora ~]$ sudo dnf update --best --allowerasing --skip-broken
Last metadata expiration check: 1:14:36 ago on Tue 10 Jan 2023 10:16:05 AM CET.
Error: 
 Problem: cannot install the best update candidate for package OpenImageIO-2.3.12.0-7.fc35.x86_64
  - problem with installed package OpenImageIO-2.3.12.0-7.fc35.x86_64
  - package OpenImageIO-2.3.12.0-7.fc35.x86_64 requires libdcmdata.so.16()(64bit), but none of the providers can be installed
  - package OpenImageIO-2.3.12.0-7.fc35.x86_64 requires libdcmimage.so.16()(64bit), but none of the providers can be installed
  - package OpenImageIO-2.3.12.0-7.fc35.x86_64 requires libdcmimgle.so.16()(64bit), but none of the providers can be installed
  - package OpenImageIO-2.3.12.0-7.fc35.x86_64 requires liboflog.so.16()(64bit), but none of the providers can be installed
  - package OpenImageIO-2.3.12.0-7.fc35.x86_64 requires libofstd.so.16()(64bit), but none of the providers can be installed
  - cannot install the best update candidate for package dcmtk-3.6.6-5.fc35.x86_64
  - cannot install both dcmtk-3.6.7-1.fc35.x86_64 and dcmtk-3.6.6-5.fc35.x86_64

Could someone explain to me what this means?
Any ideas how I can fix it?

First off, you are running F35 which went EOL last month. I would recommend that as soon as this upgrade problem is solved you upgrade the system to a currently supported version.

Secondly, your ffmpeg packages are installed from unitedrpms. The ones compatible with fedora should be installed from rpmfusion. Unitedrpms is a 3rd party repo that can, and seemingly does, conflict with packages installed from fedora compatible repos.

Thirdly, you have 2 copies of the x264-libs package installed. One from unitedrpms and one from rpmfusion-free.
You also have 2 copies of live555 installed with different versions; and 2 copies of vlc-core with different versions.

My suggestion:

  1. remove ffmpeg packages, vlc packages, and x264 packages
    dnf remove ffmpeg* vlc x264 x264-libs
  2. Attempt the upgrade again.
    If that fails then remove the dcmtk package. dnf remove dcmtk
  3. disable the unitedpms repo dnf config-manager --disable unitedrpms
  4. complete the upgrade with dnf upgrade --refresh

Once all that is done successfully then consider updating to either fedora 36 or 37 since both those will be supported for a minimum of 6 months.

Any packages that are removed following these steps can be reinstalled after the completion of step 4. You should install ffmpeg, x264-libs, live555 and vlc from rpmfusion to avoid conflicts as you report above. The dcmtk package is available from fedora. This is true for both F36 and F37.

1 Like

Thank you, that fixed it! :slight_smile:

1 Like