FATAL: Test install failed cpanel

 

If you get below fatal error while updating cpanel

 

[20140325.101511] ***** FATAL: Test install failed:     package cpanel-php54-ingo-3.1.2-3.cp1142.noarch is already installed
[20140325.101511]   The Administrator will be notified to review this output when this script completes
[20140325.101511] ***** FATAL: Error testing if the RPMs will install: Died at /usr/local/cpanel/scripts/updatenow.static-cpanelsync line 14050.
[20140325.101511]   see http://go.cpanel.net/rpmcheckfailed for more information
[20140325.101511]   The Administrator will be notified to review this output when this script completes

SSH to server and run below scripts

#     /scripts/check_cpanel_rpms

#           /usr/local/cpanel/scripts/check_cpanel_rpms –fix

 

This should fix all  RPM issues and cpanel should update fine now