cPanel/WHM update failure in upcp – The no package available error
Issue :-
I’m getting the following error when cPanel tries to update. I’m not seeing much info on this error and I’m stuck. Any ideas?
Running `/usr/local/cpanel/scripts/updatenow --upcp --log=/var/cpanel/updatelogs/update.1359657200.log` failed, exited with code 4608
Solution :-
If the /etc/yum.conf file excludes a required package from updates, or a package does not exist on your server, the installation process fails.
In this case, the absence of the wget package causes the installation to fail:
[20170120.123334] Setting up Install Process
[20170120.123334] No package wget available.
[20170120.123335] Nothing to do
[20170120.123339] E Sysup: Needed system RPMs were not installed: wget
[20170120.123339] ***** FATAL: Cannot proceed. Needed system RPMs were not installed.
[20170120.123339] The Administrator will be notified to review this output when this script completes
[20170120.123339] E Detected events which require user notification during updatenow. Will send iContact the log
=> Log closed Fri Jan 20 12:33:39 2017
[20170120.123339]
E Running `/usr/local/cpanel/scripts/updatenow --upcp
--log=/var/cpanel/updatelogs/update.1359657200.log` failed, exited with
code 4608
=> Log closed Fri Jan 20 12:33:39 2017
To troubleshoot this issue, perform the following steps:
- Open the /etc/yum.conf file with a text editor and remove the required package from the exclude line. For example:
exclude=bind-chroot courier* dovecot* exim* filesystem httpd* mod_ssl* mydns* mysql* nsd* perl* php* proftpd* pure-ftpd* ruby* spamassassin* squirrelmail*
- Save your changes and rerun the update process.
/scripts/upcp --force
That’s it 🙂
Hope this will help you to resolve the issue.
298 total views, 7 views today