The script /usr/local/cpanel/scripts/rpmup may fail during a cPanel update with the following error:
[/usr/local/cpanel/scripts/rpmup] Error: Package: perl-Git-1.7.1-9.el6_9.noarch (@cloudlinux-x86_64-server-6)
[/usr/local/cpanel/scripts/rpmup] You could try using --skip-broken to work around the problem
[/usr/local/cpanel/scripts/rpmup] Error: Package: git-1.7.1-10.el6_10.x86_64 (cloudlinux-x86_64-server-6)
This error occurs due to requiring a new version of perl-Git. The perl-Git package is typically outdated due to updates to perl* being excluded in yum's configuration at /etc/yum.conf.
# grep 'exclude' /etc/yum.conf
exclude=bind-chroot courier* dovecot* exim* filesystem httpd* mod_ssl* mydns* nsd* p0f perl* php* proftpd* pure-ftpd* spamassassin* squirrelmail*
To resolve this, remove perl* from the exclude= line in /etc/yum.conf.