cPanel/WHM update failure in upcp – The no package available error

If you found this post helpful, kindly share it and show your support :)

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
 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.


Mohammed Noufal

I'm Mohammed Noufal, working as Server Admin for the last 10 years.  In my day-to-day life, l had to face different problems related to Web-hosting. On my website, you can find solutions for different Web-hosting-related problems. Sometimes, I spent hours searching/googling to find a solution. This inspired me to start a website that gives solutions to different Webhosting problems. This website includes basic Linux and windows commands, and different control panels like cPanel, Plesk, DirectAdmin, Webmin & so on. You can find solutions and or suggestions for different Web-hosting related problems from here. Hence I would like to say Errorlogz is your server protector.  I will be glad if Logdetect can help any one of the Server admins to find a solution to his problem.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *