During updates of the cPanel software, you may come across individual packages being missing. It can be quite exhausting to search through the update logs to attempt to narrow down the problem.
The best way to go about reviewing the last cPanel update would be finding presented log errors. You would be able to run the following command to review the previous cPanel update:
awk '$4=="E"' /var/cpanel/updatelogs/last
If for example, you stumble upon the following error:
E Sysup: Needed system RPMs were not installed
Your Software requires a particular package to be downloaded for the cPanel update to proceed. Generally, after the reported error, you can see the required RPM package.
In the following example, we can see that libevent, libzip are missing:
[2020-04-29 08:57:20 -0700] E Sysup: Needed system RPMs were not installed: libevent, libzip
[2020-04-29 08:58:21 -0700] E Blocker found: Cannot upgrade to 11.86.0.18 until needed system RPMs are installed.
[2020-04-29 08:58:22 -0700] E The install encountered a fatal error: Cannot upgrade to 11.86.0.18 until needed system RPMs are installed.
Once you have determined the missing RPMs, we would then advise attempting to install the package manually. To install a package using the YUM installer, you can do so by running the following:
yum install ${insert missing package}
*Be sure to replace the value above with your required RPM.
For more information on how to manage RPM Installation Failures, please check out our cPanel Docs: https://docs.cpanel.net/knowledge-base/general-systems-administration/rpm-installation-failures/