Unable to update cPanel version? Fix the issue now Print

  • 0

While running upcp if you come across the below error:

20150311.000907] Testing if rpm_is_working RPM is installed
[20150311.000907] package rpm_is_working is not installed
[20150311.000907] Testing if it's possible to install a simple RPM
[20150311.000907] Preparing... ##################################################
[20150311.000907] rpm_is_working ##################################################
[20150311.000907] Switching to version '11.42.1.31' of updatenow to perform sync.
=> Log closed Wed Mar 11 00:09:07 2015
[20150311.000907] 17% complete

Solution
=========

I have corrected the RPM issue on the server. One of the configuration files that cPanel needs to determine what architecture your system is running had become corrupt:

[WARN] * /var/cpanel/sysinfo.config: contains 'rpm_dist_ver=unknown'.

Corrected this by running /scripts/gensysinfo, which populates the file with this info:

[root@node03 ~]# /scripts/gensysinfo

/var/cpanel/sysinfo.config updated.

[root@node03 ~]# cat /var/cpanel/sysinfo.config

# This file is deprecated will not be available much longer, so please do not attempt to use it.

arch=x86_64
dist=centos
dist_ver=7
release=7.9
rpm_arch=x86_64
rpm_dist=centos
rpm_dist_ver=7

Upcp command will work like a charm now. 

  •  

Was this answer helpful?

« Back

Send Message