Technical Issues

cPanel & WHM failed to update

By 13th November 2015 No Comments

I’m a firm believer in posting resolutions to issues I come across in my daily life, especially those that I couldn’t find an answer to online. So starting today I’m going to start posting these kind of things on my blog, hopefully they will help others who come across the same issues!

 

So after updating cPanel & WHM I was getting the following error on CentOS release 6.7

The system failed to update to the latest version of cPanel & WHM version 11.52 because it could not install basic requirements for cPanel & WHM. The specific failure was:

Sysup: Needed system RPMs were not installed: db4-devel

 

At first it just looked like I was missing the db4-devel RPM but my log had the following error:

Package db4-devel-4.7.25-20.el6_7.x86_64 is obsoleted by db53-devel-5.3.21-1ice.el6.x86_64 which is already installed

 

----------------------------------------------------------------------------------------------------
=> Log opened from cPanel Update (upcp) - Slave (24185) at Thu Nov 12 01:26:46 2015
[2015-11-12 01:26:46 +0000] Detected cron=0 (SSH connection detected)
[2015-11-12 01:26:46 +0000] 1% complete
[2015-11-12 01:26:46 +0000] Running Standardized hooks
[2015-11-12 01:26:47 +0000] 2% complete
[2015-11-12 01:26:47 +0000] mtime on upcp is 1444768298 (Tue Oct 13 21:31:38 2015)
----------------------------------------------------------------------------------------------------
=> Log opened from /usr/local/cpanel/scripts/updatenow (24187) at Thu Nov 12 01:26:49 2015
[2015-11-12 01:26:49 +0000] Detected version '11.52.0.21' from version file.
[2015-11-12 01:26:49 +0000] Running version '11.52.0.21' of updatenow.
<span class="textlinkplus">[2015-11-12 01:26:49 +0000] Using mirror '52.28.145.234' for host '<a class="textlinkplus" href="http://httpupdate.cpanel.net/" data-mce-href="http://httpupdate.cpanel.net/">httpupdate.cpanel.net</a>'.</span>
[2015-11-12 01:26:49 +0000] Successfully verified signature for cpanel (key types: release).
[2015-11-12 01:26:49 +0000] Target version set to '11.52.0.22'
[2015-11-12 01:26:49 +0000] Switching to 11.52.0.22 to determine if we can reach that version without failure.
[2015-11-12 01:26:50 +0000] Retrieving and staging /cpanelsync/11.52.0.22/cpanel/scripts/updatenow.static.bz2
<span class="textlinkplus">[2015-11-12 01:26:50 +0000] Using mirror '52.28.145.234' for host '<a class="textlinkplus" href="http://httpupdate.cpanel.net/" data-mce-href="http://httpupdate.cpanel.net/">httpupdate.cpanel.net</a>'.</span>
[2015-11-12 01:26:51 +0000] Successfully verified signature for cpanel (key types: release).
[2015-11-12 01:26:51 +0000] Set permissions on /usr/local/cpanel/scripts/updatenow.static-cpanelsync to 0700
[2015-11-12 01:26:51 +0000] Become an updatenow.static for version: 11.52.0.22
=> Log closed Thu Nov 12 01:26:51 2015
----------------------------------------------------------------------------------------------------
=> Log opened from /usr/local/cpanel/scripts/updatenow.static-cpanelsync (24187) at Thu Nov 12 01:26:51 2015
[2015-11-12 01:26:51 +0000] Detected version '11.52.0.21' from version file.
[2015-11-12 01:26:51 +0000] Running version '11.52.0.22' of updatenow.
<span class="textlinkplus">[2015-11-12 01:26:51 +0000] Using mirror '52.28.145.234' for host '<a class="textlinkplus" href="http://httpupdate.cpanel.net/" data-mce-href="http://httpupdate.cpanel.net/">httpupdate.cpanel.net</a>'.</span>
[2015-11-12 01:26:51 +0000] Successfully verified signature for cpanel (key types: release).
[2015-11-12 01:26:51 +0000] Target version set to '11.52.0.22'
[2015-11-12 01:26:51 +0000] Checking license
[2015-11-12 01:26:53 +0000] License file check complete
[2015-11-12 01:26:53 +0000] Checking that the RPM DB is OK...
[2015-11-12 01:26:53 +0000] glibc-2.12-1.166.el6_7.3.x86_64
[2015-11-12 01:26:53 +0000] OK: RPM DB is responding to queries
[2015-11-12 01:26:53 +0000] Testing if rpm_is_working RPM is installed
[2015-11-12 01:26:53 +0000] package rpm_is_working is not installed
[2015-11-12 01:26:53 +0000] Testing if it's possible to install a simple RPM
[2015-11-12 01:26:54 +0000] Preparing... ##################################################
[2015-11-12 01:26:54 +0000] rpm_is_working ##################################################
[2015-11-12 01:26:55 +0000] Switching to version '11.52.0.22' of updatenow to perform sync.
[2015-11-12 01:26:55 +0000] checkyum version 22.3
[2015-11-12 01:27:17 +0000] checkyum version 22.3
[2015-11-12 01:27:20 +0000] Loaded plugins: fastestmirror
[2015-11-12 01:27:20 +0000] Setting up Install Process
[2015-11-12 01:27:20 +0000] Loading mirror speeds from cached hostfile
<span class="textlinkplus">[2015-11-12 01:27:21 +0000] * base: <a class="textlinkplus" href="http://mirror.vorboss.net/" data-mce-href="http://mirror.vorboss.net/">mirror.vorboss.net</a></span>
<span class="textlinkplus">[2015-11-12 01:27:21 +0000] * epel: <a class="textlinkplus" href="http://mirror.bytemark.co.uk/" data-mce-href="http://mirror.bytemark.co.uk/">mirror.bytemark.co.uk</a></span>
<span class="textlinkplus">[2015-11-12 01:27:21 +0000] * extras: <a class="textlinkplus" href="http://mirror.vorboss.net/" data-mce-href="http://mirror.vorboss.net/">mirror.vorboss.net</a></span>
<span class="textlinkplus">[2015-11-12 01:27:21 +0000] * updates: <a class="textlinkplus" href="http://mirrors.coreix.net/" data-mce-href="http://mirrors.coreix.net/">mirrors.coreix.net</a></span>
[2015-11-12 01:27:24 +0000] Package db4-devel-4.7.25-20.el6_7.x86_64 is obsoleted by db53-devel-5.3.21-1ice.el6.x86_64 which is already installed
[2015-11-12 01:27:24 +0000] Nothing to do
[2015-11-12 01:27:24 +0000] Prelinking shared libraries and binaries: /usr/sbin/prelink -av -mR
[2015-11-12 01:27:56 +0000] checkyum version 22.3
[2015-11-12 01:27:58 +0000] E Sysup: Needed system RPMs were not installed: db4-devel
[2015-11-12 01:27:58 +0000] ***** FATAL: Cannot proceed. Needed system RPMs were not installed.
[2015-11-12 01:27:58 +0000] The Administrator will be notified to review this output when this script completes
=> Log closed Thu Nov 12 01:27:58 2015
[2015-11-12 01:27:58 +0000] 17% complete
[2015-11-12 01:27:58 +0000] E Running `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.1447291606.log` failed, exited with code 18 (signal = 0)
=> Log closed Thu Nov 12 01:28:01 2015

Turns out the a custom repository I had installed zeroc-ice-el6.repo was requiring db4-devel-4.7.25-20.el6_7.x86_64.rpm during the update, so by disabling this repository and then running the update script again everything ran smoothly.

Brendan

Author Brendan

More posts by Brendan

Leave a Reply