Page 1 of 1

Install fails on Rocky Linux

Posted: Mon Nov 25, 2024 9:06 pm
by monkthecat
Hey folks:

Created a new VM and installed Rocky Linux 9.5 Blue Onyx, logged into the VM and then followed the ZM instructions here: https://zoneminder.readthedocs.io/en/la ... edhat.html, specifically as follows:

Enabled RPM Fusion repo:
sudo dnf install --nogpgcheck https://dl.fedoraproject.org/pub/epel/e ... se-latest-$(rpm -E %rhel).noarch.rpm
sudo dnf install --nogpgcheck https://mirrors.rpmfusion.org/free/el/r ... e-release-$(rpm -E %rhel).noarch.rpm https://mirrors.rpmfusion.org/nonfree/e ... e-release-$(rpm -E %rhel).noarch.rpm

Enabled CRB repo:
sudo dnf install dnf-plugins-core
sudo dnf config-manager --set-enabled crb

Then I try to install ZoneMinder for nginx:
sudo dnf install zoneminder-nginx

And get this error:

Last metadata expiration check: 0:08:17 ago on Mon 25 Nov 2024 11:55:36 AM PST.
Error:
Problem: package zoneminder-common-1.36.35-1.el9.x86_64 from rpmfusion-free-updates requires ffmpeg, but none of the providers can be installed
- package zoneminder-nginx-1.36.35-1.el9.x86_64 from rpmfusion-free-updates requires zoneminder-common(x86-64) = 1.36.35-1.el9, but none of the providers can be installed
- package ffmpeg-5.1.6-1.el9.x86_64 from rpmfusion-free-updates requires ffmpeg-libs(x86-64) = 5.1.6-1.el9, but none of the providers can be installed
- conflicting requests
- nothing provides libdav1d.so.6()(64bit) needed by ffmpeg-libs-5.1.6-1.el9.x86_64 from rpmfusion-free-updates
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Anyone know what might have gone wrong?

Re: Install fails on Rocky Linux

Posted: Tue Nov 26, 2024 8:14 pm
by phoner
Maybe try to install ffmpeg before the zoneminer install,

You might not need them all but I was successful installing these packages first,
sudo dnf -y install mariadb-server mariadb httpd php ffmpeg libjpeg-devel pcre mock php-gd php-intl php-mysqli php-pecl-apcu php-process perl-DBD-MySQL

sudo dnf -y install zoneminder-common zoneminder-httpd zoneminder


adjust for nginx packages I've never used those.

Re: Install fails on Rocky Linux

Posted: Wed Nov 27, 2024 12:29 am
by knight-of-ni
This is failing because ffmpeg package is looking for libdav1d.so.6, which is part of the dav1d package. However, the dav1d package appears to be upgraded recently on EPEL, to resolve one or more CVE's:
https://bodhi.fedoraproject.org/updates ... 398707b664
https://pagure.io/epel/issue/299

That new version of dav1d has libdav1d.so.7. Hence, the breakage. This will work itself out, after ffmpeg is rebuilt in rpmfusion.

For now, try installing ffmpeg with the --nobest flag

Re: Install fails on Rocky Linux

Posted: Wed Nov 27, 2024 1:54 pm
by knight-of-ni
UPDATE: New ffmpeg 5.1.6-2 package was built on Nov 21:
https://koji.rpmfusion.org/koji/buildinfo?buildID=30349

As of this writing, this new package is not yet in the rpmfusion testing repo.
You can fix the problem now by manually downloading the packages from the link above, or just wait for them to appear in the rpmfusion repo.