Resolve libdav1d package conflicts

Today, I got the following output when running my regular dnf update:

Fedora Modular 31 - x86_64 - Updates 35 kB/s | 22 kB 00:00
Fedora 31 - x86_64 - Updates 31 kB/s | 22 kB 00:00
Dependencies resolved.

Problem: package vlc-core-1:3.0.9-21.fc31.x86_64 requires libdav1d.so.2()(64bit), but none of the providers can be installed
  - cannot install both libdav1d-0.5.1-1.fc31.x86_64 and libdav1d-0.4.0-1.fc31.x86_64
  - cannot install both libdav1d-0.4.0-1.fc31.x86_64 and libdav1d-0.5.1-1.fc31.x86_64
  - cannot install the best update candidate for package vlc-core-1:3.0.9-21.fc31.x86_64
  - cannot install the best update candidate for package libdav1d-0.4.0-1.fc31.x86_64
====================================================================================================
 Package                Architecture         Version                    Repository             Size
====================================================================================================
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 libdav1d               x86_64               0.5.1-1.fc31               updates               361 k

Transaction Summary
====================================================================================================
Skip  1 Package

Nothing to do.
Complete!

Even running dnf update --best --allowerasing still results in:

Last metadata expiration check: 0:03:21 ago on So 24 Nov 2019 15:07:25 GMT.
Error: 
 Problem: cannot install the best update candidate for package ffmpeg-libs-4.2.1-2.fc31.x86_64
  - problem with installed package ffmpeg-libs-4.2.1-2.fc31.x86_64
  - package ffmpeg-libs-4.2.1-2.fc31.x86_64 requires libdav1d.so.2()(64bit), but none of the providers can be installed
  - cannot install the best update candidate for package libdav1d-0.4.0-1.fc31.x86_64
  - cannot install both libdav1d-0.5.1-1.fc31.x86_64 and libdav1d-0.4.0-1.fc31.x86_64
  - cannot install both libdav1d-0.4.0-1.fc31.x86_64 and libdav1d-0.5.1-1.fc31.x86_64
(try to add '--skip-broken' to skip uninstallable packages)

Also a dnf distro-sync does not help.

Any ideas how to resolve those conflicts?

libdav1d was just updated. Run dnf upgrade --refresh and it should be fixed.

2 Likes

Indeed, now everything updated fine :slight_smile: