How to repair corrupt cPanel RPMs

 

When a cPanel update finihsed it runs `rpmcheck`.

 

On rare occasions when cPanel updates it can unfortunately corrupt an RPM.

If an RPM is corrupted then the check will fail causing an email similar to the following to be sent out.

=============================================

RPM Status Additional Information

dovecot,2.2.21,1.cp1154-/usr/lib64/dovecot/libdovecot-login.so.0.0.0 Broken S.?......
dovecot,2.2.21,1.cp1154-/usr/libexec/dovecot/imap-login Broken S.?......
dovecot,2.2.21,1.cp1154-/usr/libexec/dovecot/imap-urlauth-login Broken S.?......
dovecot,2.2.21,1.cp1154-/usr/libexec/dovecot/pop3-login Broken S.?......
If you did not make these changes intentionally, execute the following command as the root user to correct them:

/usr/local/cpanel/scripts/check_cpanel_rpms --fix
This notice is the result of a request from “rpmcheck”.

============================================

 

To fix this issue you can log into your server via SSH and run: /usr/local/cpanel/scripts/check_cpanel_rpms --fix

This will rebuild the RPM database for you and resolve any issues.

 

--- How To SSH ---

If you're unsure how to SSH to your server you can follow this guide: How To SSH To Your Server