Cpanel update failure during updatenow

Today I was getting following warning message from our cPanel server:

The /usr/local/cpanel/scripts/updatenow –upcp –log=/var/cpanel/updatelogs/update.1450258802.log` command failed and exited with the code “255” (signal = 0)

To resolve this Error follow the steps below:

Login to your server via SSH as root

Run following commands:

/scripts/autorepair fix_duplicate_cpanel_rpms
/scripts/upcp --force

The above commands will update cPanel to latest stable version. After update is completed, login in WHM as root to check if everything is fine.

Done!