Cannot upgrade due to "libdav1d.so=7-64", a dependency of "ffmpeg" and "ffmpeg.4"."

  • When upgrade system by executing sudo pacman -Syyu --noconfirm, I got this:
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'libdav1d.so=7-64' required by ffmpeg
:: unable to satisfy dependency 'libdav1d.so=7-64' required by ffmpeg
:: unable to satisfy dependency 'libdav1d.so=7-64' required by ffmpeg
:: unable to satisfy dependency 'libdav1d.so=7-64' required by ffmpeg
:: unable to satisfy dependency 'libdav1d.so=7-64' required by ffmpeg
:: unable to satisfy dependency 'libdav1d.so=7-64' required by ffmpeg
:: unable to satisfy dependency 'libdav1d.so=7-64' required by ffmpeg
:: unable to satisfy dependency 'libdav1d.so=7-64' required by ffmpeg
:: unable to satisfy dependency 'libdav1d.so=7-64' required by ffmpeg
:: unable to satisfy dependency 'libdav1d.so=7-64' required by ffmpeg
:: unable to satisfy dependency 'libdav1d.so=7-64' required by ffmpeg
:: unable to satisfy dependency 'libdav1d.so=7-64' required by ffmpeg
  • Then, pacman -Ss dav1d, this is seen:
extra/dav1d 1.2.1-1 [installed]
    AV1 cross-platform decoder focused on speed and correctness
extra/dav1d-doc 1.3.0-1
    AV1 cross-platform decoder focused on speed and correctness (documentation)
archlinuxcn/lib32-dav1d 1.3.0-1
    AV1 cross-platform decoder focused on speed and correctness (32 bit)
archlinuxcn/lib32-dav1d-debug 1.3.0-1
    Detached debugging symbols for lib32-dav1d
archlinuxcn/lib32-libdav1d 1.3.0-1
    AV1 cross-platform decoder focused on speed and correctness - library (32 bit)

Up till now, I have tried removing elisa and vlc, but there’s no help. And I cannot install vlc and elisa back again.

Hi @gyyy,

Had you searched, you’d have found numerous threads regarding this, one of which is:

Where the 3rd post states:

So I’m guessing just wait.

Also, your profile says you’re on the Stable branch, but this error shouldn’t have bothered you. I am also on the Stable but have not had any updates today. Hence I think your profile is out-of-date…

1 Like

Ongoing conversation on this topic can be found in [Stable Update 2023-10-13]. Unless it’s been moved.

I can’t stress this enough: Always check that the mirrors you use have been updated before performing an upgrade. If the updated repo content hasn’t propagated to your preferred repo’s you will always get unexpected results.

Manjaro Mirror Status / Manjaro Mirrors (Wiki).

1 Like

The problem is not with “libdav1d.so” which comes from “dav1d”. “ffmpeg” package is broken.

I solved the problem by first downloading the ffmpeg-git and all the dependencies manually and the building it by : -

sudo pacman -Sy yay

after yay is installed, then download the dependencies you may miss like I did, even though it was fresh installation.
The dependencies you may miss are:-
amf-headers, avisynthplus, ffnvcodec-headers-git, ladspa, nasm, opencl-headers

Before installing the above dependencies you might need to install other important dependencies which are patch, pkgconf, gnutls, make, So first install these by:-

yay -Sy patch pkgconf gnutls make

Then install the ffmpeg-git dependencies

yay -Sy amf-headers avisynthplus ffnvcodec-headers-git ladspa nasm opencl-headers

after installation, try the below mentioned code and rebuild ffmpeg

cd Downloads
git clone https://aur.archlinux.org/ffmpeg-git.git && cd ffmpeg-git
makepkg -si

I had the same problem, this helped me.

sudo pacman-mirrors --fasttrack && sudo pacman -Syyu

1 Like