Some time when we try to update the cpanel, the script will end with the following error:
[2017-02-28 06:57:31 +0000] No package redhat-rpm-config available.
[2017-02-28 06:57:31 +0000] E Error: Nothing to do
[2017-02-28 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
[2017-02-28 06:57:31 +0000] checkyum version 22.3
[2017-02-28 06:57:32 +0000] E Sysup: Needed system RPMs were not installed: redhat-rpm-config
[2017-02-28 06:57:32 +0000] ***** FATAL: Cannot proceed. Needed system RPMs were not installed.
[2017-02-28 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
[2017-02-28 06:57:31 +0000] No package redhat-rpm-config available.
[2017-02-28 06:57:31 +0000] E Error: Nothing to do
[2017-02-28 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
[2017-02-28 06:57:31 +0000] checkyum version 22.3
[2017-02-28 06:57:32 +0000] E Sysup: Needed system RPMs were not installed: redhat-rpm-config
[2017-02-28 06:57:32 +0000] ***** FATAL: Cannot proceed. Needed system RPMs were not installed.
[2017-02-28 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
Comments