cPanel & WHM update failure in upcp script

Operating System & Version
CloudLinux 8.6
cPanel & WHM Version
108.0.14

raymond.b

Registered
Mar 15, 2023
1
0
1
United Kingdom
cPanel Access Level
Root Administrator
Hello,

We have recently been running into some issues with our clients WHM/Cpanel server.

This is the output from the latest update log:

[2023-03-15 04:42:04 +0000] - Processing command `/usr/local/cpanel/scripts/update-packages`
[2023-03-15 04:42:04 +0000] [/usr/local/cpanel/scripts/update-packages] checkyum version 22.3 (excludes: bind-chroot)
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] This system is receiving updates from CloudLinux Network server.
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] Last metadata expiration check: 0:07:05 ago on Wed Mar 15 04:35:01 2023.
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] Error:
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] Problem 1: package libstdc++-devel-8.5.0-10.1.el8_6.alma.x86_64 requires libstdc++(x86-64) = 8.5.0-10.1.el8_6.alma, but none of the providers can be installed
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install both libstdc++-8.5.0-15.el8.alma.x86_64 and libstdc++-8.5.0-10.1.el8_6.alma.x86_64
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install the best update candidate for package libstdc++-devel-8.5.0-10.1.el8_6.alma.x86_64
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install the best update candidate for package libstdc++-8.5.0-10.1.el8_6.alma.x86_64
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] Problem 2: package libtiff-devel-4.0.9-21.el8.x86_64 requires libtiff(x86-64) = 4.0.9-21.el8, but none of the providers can be installed
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install both libtiff-4.0.9-23.el8.x86_64 and libtiff-4.0.9-21.el8.x86_64
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install the best update candidate for package libtiff-devel-4.0.9-21.el8.x86_64
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install the best update candidate for package libtiff-4.0.9-21.el8.x86_64
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] Problem 3: package libxml2-devel-2.9.7-13.el8_6.1.x86_64 requires libxml2(x86-64) = 2.9.7-13.el8_6.1, but none of the providers can be installed
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install both libxml2-2.9.7-15.el8.x86_64 and libxml2-2.9.7-13.el8_6.1.x86_64
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install the best update candidate for package libxml2-devel-2.9.7-13.el8_6.1.x86_64
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install the best update candidate for package libxml2-2.9.7-13.el8_6.1.x86_64
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] Problem 4: package rpm-build-4.14.3-24.el8_6.x86_64 requires rpm = 4.14.3-24.el8_6, but none of the providers can be installed
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install both rpm-4.14.3-24.el8_7.x86_64 and rpm-4.14.3-24.el8_6.x86_64
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install the best update candidate for package rpm-build-4.14.3-24.el8_6.x86_64
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install the best update candidate for package rpm-4.14.3-24.el8_6.x86_64
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] Problem 5: libgomp-8.5.0-10.1.el8_6.alma.i686 has inferior architecture
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - package gcc-8.5.0-10.1.el8_6.alma.x86_64 requires libgomp = 8.5.0-10.1.el8_6.alma, but none of the providers can be installed
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install both libgomp-8.5.0-15.el8.alma.x86_64 and libgomp-8.5.0-10.1.el8_6.alma.x86_64
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install the best update candidate for package libgomp-8.5.0-10.1.el8_6.alma.x86_64
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install the best update candidate for package gcc-8.5.0-10.1.el8_6.alma.x86_64
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] Problem 6: package ghostscript-9.27-1.el8.x86_64 requires libgs(x86-64) = 9.27-1.el8, but none of the providers can be installed
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install both libgs-9.27-4.el8.x86_64 and libgs-9.27-1.el8.x86_64
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install the best update candidate for package libgs-9.27-1.el8.x86_64
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install the best update candidate for package ghostscript-9.27-1.el8.x86_64
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] Problem 7: package bind-lite-devel-32:9.11.36-3.el8_6.1.x86_64 requires libxml2-devel(x86-64), but none of the providers can be installed
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - package libxml2-devel-2.9.7-13.el8_6.1.x86_64 requires libxml2(x86-64) = 2.9.7-13.el8_6.1, but none of the providers can be installed
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - package libxml2-devel-2.9.7-13.el8.x86_64 requires libxml2(x86-64) = 2.9.7-13.el8, but none of the providers can be installed
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install both libxml2-2.9.7-15.el8.x86_64 and libxml2-2.9.7-13.el8_6.1.x86_64
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install both libxml2-2.9.7-15.el8.x86_64 and libxml2-2.9.7-13.el8.x86_64
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - package python3-libxml2-2.9.7-15.el8.x86_64 requires libxml2(x86-64) = 2.9.7-15.el8, but none of the providers can be installed
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install the best update candidate for package python3-libxml2-2.9.7-13.el8_6.1.x86_64
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install the best update candidate for package bind-lite-devel-32:9.11.36-3.el8_6.1.x86_64
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] Problem 8: package rpmdevtools-8.10-8.el8.noarch requires rpm-build >= 4.4.2.3, but none of the providers can be installed
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - package rpm-build-4.14.3-24.el8_6.x86_64 requires rpm = 4.14.3-24.el8_6, but none of the providers can be installed
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - package rpm-build-4.14.3-23.el8.x86_64 requires rpm = 4.14.3-23.el8, but none of the providers can be installed
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install both rpm-4.14.3-24.el8_7.x86_64 and rpm-4.14.3-24.el8_6.x86_64
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install both rpm-4.14.3-24.el8_7.x86_64 and rpm-4.14.3-23.el8.x86_64
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - package rpm-libs-4.14.3-24.el8_7.x86_64 requires rpm = 4.14.3-24.el8_7, but none of the providers can be installed
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install the best update candidate for package rpmdevtools-8.10-8.el8.noarch
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install the best update candidate for package rpm-libs-4.14.3-24.el8_6.x86_64
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] Problem 9: problem with installed package rpm-build-4.14.3-24.el8_6.x86_64
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - package rpm-build-4.14.3-24.el8_6.x86_64 requires rpm = 4.14.3-24.el8_6, but none of the providers can be installed
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install both rpm-4.14.3-24.el8_7.x86_64 and rpm-4.14.3-24.el8_6.x86_64
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - package rpm-libs-4.14.3-24.el8_7.x86_64 requires rpm = 4.14.3-24.el8_7, but none of the providers can be installed
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - package python3-rpm-4.14.3-24.el8_7.x86_64 requires rpm-libs(x86-64) = 4.14.3-24.el8_7, but none of the providers can be installed
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install the best update candidate for package python3-rpm-4.14.3-24.el8_6.x86_64
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] Problem 10: problem with installed package rpmdevtools-8.10-8.el8.noarch
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - package rpmdevtools-8.10-8.el8.noarch requires rpm-build >= 4.4.2.3, but none of the providers can be installed
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - package rpm-build-4.14.3-24.el8_6.x86_64 requires rpm = 4.14.3-24.el8_6, but none of the providers can be installed
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - package rpm-build-4.14.3-23.el8.x86_64 requires rpm = 4.14.3-23.el8, but none of the providers can be installed
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install both rpm-4.14.3-24.el8_7.x86_64 and rpm-4.14.3-24.el8_6.x86_64
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install both rpm-4.14.3-24.el8_7.x86_64 and rpm-4.14.3-23.el8.x86_64
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - package rpm-libs-4.14.3-24.el8_7.x86_64 requires rpm = 4.14.3-24.el8_7, but none of the providers can be installed
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - package rpm-build-libs-4.14.3-24.el8_7.x86_64 requires rpm-libs(x86-64) = 4.14.3-24.el8_7, but none of the providers can be installed
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - package rpm-build-libs-4.14.3-24.el8_7.x86_64 requires rpm-libs(x86-64) = 4.14.3-24.el8_7, but none of the providers can be installed
[2023-03-15 04:42:07 +0000] [/usr/local/cpanel/scripts/update-packages] - cannot install the best update candidate for package rpm-build-libs-4.14.3-24.el8_6.x86_64
[2023-03-15 04:42:07 +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)

I have recently rebooted the server as there was some pending updates.

Any insight would be very helpful.

Thanks!
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,290
2,438
363
cPanel Access Level
Root Administrator
Hey there! This looks like an issue with Yum/DNF where the classic combination of commands may help resolve the issue:

Code:
yum clean all
yum makecache
yum update
If that doesn't resolve the issue, it could be worth trying the "dnf update --nobest" command to see if that allows the update to work properly. It is important to note that these issues are on the OS-level and not related to the cPanel tools.