Install fails on Rocky Linux

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
monkthecat
Posts: 1
Joined: Mon Nov 25, 2024 8:55 pm

Install fails on Rocky Linux

Post 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?
phoner
Posts: 14
Joined: Fri Nov 15, 2019 4:00 pm

Re: Install fails on Rocky Linux

Post 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.
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Install fails on Rocky Linux

Post 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
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Install fails on Rocky Linux

Post 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.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
Post Reply