The cPanel update was resulting generating the fatal error
++++
FATAL: Failed to download updatenow.static from server: (XID xxmzbe) The system aborted the subprocess “/bin/rpm” (process [asis,ID] “112486”) because it reached the timeout of [quant,_3,second,seconds]
++++
Tried running
mkdir /root/old_rpm_dbs/
mv /var/lib/rpm/__db* /root/old_rpm_dbs/
rpm --rebuilddb
But the issue was not fixed. Also ran /scripts/cpanel_rpm_fix but it was
stucked forever.
So moved the db lock file which was causing the issue.
cd /var/lib/rpm
mv.dbenv.lock /backup
then ran the rpm --rebuilddb.
After that /scripts/upcp --force completed successfully.