I have seen recent cPanel upgrade throwing errors shown below:
root@server [~]# /scripts/upcp
/scripts/upcp syntax OK
Running Futex Check/Fixâ€¦â€¦Done
Undefined subroutine &Cpanel::Update::automatic_updates_enabled called at /scripts/upcp line 273.
This can be fixed using below steps.
wget -O /root/updatenow.static http://httpupdate.cpanel.net/cpanels…datenow.static && perl /root/updatenow.static –manual
Now you will be able to upgrade the cPanel using upcp script.
It worked for me.