cPanel & WHM update failure in upcp script - update-packages ffmpeg
Hi,
I had an error this morning (by email), and tracked it down to this:
[2024-11-21 23:58:58 +0000] [/usr/local/cpanel/scripts/update-packages] Error:
[2024-11-21 23:58:58 +0000] [/usr/local/cpanel/scripts/update-packages] Problem 1: package ffmpeg-libs-5.1.6-1.el9.x86_64 from @System requires libdav1d.so.6()(64bit), but none of the providers can be installed
[2024-11-21 23:58:58 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install both libdav1d-1.5.0-2.el9.x86_64 from epel and libdav1d-1.2.1-1.el9.x86_64 from @System
[2024-11-21 23:58:58 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install both libdav1d-1.0.0-2.el9.x86_64 from imunify360 and libdav1d-1.5.0-2.el9.x86_64 from epel
[2024-11-21 23:58:58 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install the best update candidate for package libdav1d-1.2.1-1.el9.x86_64
[2024-11-21 23:58:58 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install the best update candidate for package ffmpeg-libs-5.1.6-1.el9.x86_64
[2024-11-21 23:58:58 +0000] [/usr/local/cpanel/scripts/update-packages] Problem 2: package libavdevice-5.1.6-1.el9.x86_64 from @System requires ffmpeg-libs(x86-64) = 5.1.6-1.el9, but none of the providers can be installed
[2024-11-21 23:58:58 +0000] [/usr/local/cpanel/scripts/update-packages] - package ffmpeg-libs-5.1.6-1.el9.x86_64 from @System requires libdav1d.so.6()(64bit), but none of the providers can be installed
[2024-11-21 23:58:58 +0000] [/usr/local/cpanel/scripts/update-packages] - package ffmpeg-libs-5.1.6-1.el9.x86_64 from rpmfusion-free-updates requires libdav1d.so.6()(64bit), but none of the providers can be installed
[2024-11-21 23:58:58 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install both libdav1d-1.5.0-2.el9.x86_64 from epel and libdav1d-1.2.1-1.el9.x86_64 from @System
[2024-11-21 23:58:58 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install both libdav1d-1.0.0-2.el9.x86_64 from imunify360 and libdav1d-1.5.0-2.el9.x86_64 from epel
[2024-11-21 23:58:58 +0000] [/usr/local/cpanel/scripts/update-packages] - package libavif-0.11.1-5.el9.x86_64 from epel requires libdav1d.so.7()(64bit), but none of the providers can be installed
[2024-11-21 23:58:58 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install the best update candidate for package libavif-0.11.1-4.el9.x86_64
[2024-11-21 23:58:58 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install the best update candidate for package libavdevice-5.1.6-1.el9.x86_64
[2024-11-21 23:58:58 +0000] [/usr/local/cpanel/scripts/update-packages] (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[2024-11-21 23:58:58 +0000] [/usr/local/cpanel/scripts/update-packages] (XID 4qeqy6) “/usr/bin/yum” reported error code “1” when it ended:
[2024-11-21 23:58:58 +0000] E [/usr/local/cpanel/scripts/update-packages] The “/usr/local/cpanel/scripts/update-packages” command (process 202566) reported error number 1 when it ended.
Do I try adding ''--allowerasing' to command line to replace conflicting packages" or something else?
Thanks,
Alex
-
Well ''--allowerasing" doesn't work.
Tried "dnf clean all, makecache, update-packages" didn't work.
Tried removing ffmpeg/ffmpeg-devel/ffmpeg-libs, ran update-packages which worked, re-added ffmpeg... then update-packages has the error again.
Anything else?
Thanks,
Alex
0 -
Right, ffmpeg-free/ffmpeg-free-devel seems to work!
dnf remove ffmpeg ffmpeg-libs ffmpeg-devel
dnf install ffmpeg-free ffmpeg-free-devel
Checked it worked:
/scripts/update-packages
Worked!
checkyum version 22.3 (excludes: bind-chroot)
Last metadata expiration check: 0:00:08 ago on Fri Nov 22 20:26:03 2024.
Dependencies resolved.
Nothing to do.
Complete!https://linux.how2shout.com/how-to-install-ffmpeg-on-almalinux-9-or-rocky-linux/
0 -
I just wanted to add that cPanel doesn't make or distribute FFMPeg for legal reasons, so this isn't a package that was installed by any of our tools. More details on that can be found here:
https://support.cpanel.net/hc/en-us/articles/360053171914-Does-cPanel-support-FFMPEG
0
Please sign in to leave a comment.
Comments
3 comments