cPanel update fail with Needed RPMs not installed

Some time when we try to update the cpanel, the script will end with the following error:
SINHCOMS LLP
SINHCOMS LLP

Created: 02/03/2021 3:57 PM - Updated: 02/03/2021 3:57 PM

[2021-02-02 06:57:31 +0000]   No package redhat-rpm-config available.
[2021-02-02 06:57:31 +0000] E Error: Nothing to do
[2021-02-02 06:57:31 +0000] E (XID pzehwg) The system failed to execute yum with the arguments “-y -c /etc/yum.conf install redhat-rpm-config” be
cause of an error: The “/usr/bin/yum” command (process 11852) reported error number 1 when it ended. : Error: Nothing to do
[2021-02-02 06:57:31 +0000]   checkyum version 22.3
[2021-02-02 06:57:32 +0000] E Sysup: Needed system RPMs were not installed: redhat-rpm-config
[2021-02-02 06:57:32 +0000] ***** FATAL: Cannot proceed. Needed system RPMs were not installed.
[2021-02-02 06:57:32 +0000]   The Administrator will be notified to review this output when this script completes

Solution
######

Just run the below command and proceed with the update.

# yum clean all

# /scripts/upcp

Was this article helpful?

0 Out of 0 Marked As Helpfull

Have more questions? Please Contact Us