Most of time cpanel update will fail when its missing the version of the rpm if you get any errors and the output shows
Running `/usr/local/cpanel/scripts/updatenow –upcp –log=/var/cpanel/updatelogs/update.12522061.log` failed, exited with code 25 (signal = 0)
Use these commands bellow to check what version of OS and cpanel sysinfo configuration.
open your /var/cpanel/sysinfo.config file and make sure “rpm_dist_ver” is not configured as “unknown”. It should match the major version of the OS.
change like rpm_dist_ver=6 if you OS is 6.2.
For example :
+-(root@cPanel)(04:51:50) +-(~)->cat /etc/redhat-release CentOS release 6.2 (Final) +-(root@cPanel)(04:44:19) +-(~)->cat /var/cpanel/sysinfo.config ises=2 lock= release=6.2 rpm_arch= rpm_dist=centos rpm_dist_ver=unknown +-(root@cPanel)(04:44:57) +-(~)->/usr/local/cpanel/scripts/gensysinfo /var/cpanel/sysinfo.config updated. +-(root@cPanel)(04:45:35) +-(~)->cat /var/cpanel/sysinfo.config ises=2 lock= release=6.2 rpm_arch=i386 rpm_dist=centos rpm_dist_ver=6