Unable to update cPanel version? Fix the issue now

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. 

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How to fix IP Missing issue on cPanel/WHM

We are here to help you with solving the problem of Missing IP Server in list accounts. The...

Domain names are not showing in WHM

We were unable to see any domains listed under WHM -> List Accounts. However, we can see the...

How to Start/Stop or Restart Apache server

Apache is the HTTP server that is freely available over the internet. It is a kind of software or...

How to install Attracta SEO Tools plugin

RequirementscPanel/WHM needs to be installed on your server. Step 1: SSH into your server and go...

How to Install CpCleaner in cPanel through SSH?

Installation Run the following shell commands as root via SSH: wget -O cpc-1.0.3.tar...