Problem upgrading to Centos 6.5 – perl-CGI dependancy

6th December, 2013 by

CentOS 6.5 has just been released but it seems that cPanel gets unhappy about a perl-CGI dependancy for one of the redhat packages. Specifically it gives this error:

[email protected] [~]# yum update
---> Package redhat-lsb-core.x86_64 0:4.0-7.el6.centos will be installed
--> Processing Dependency: perl-CGI for package: redhat-lsb-core-4.0-7.el6.centos.x86_64
---> Package xz.x86_64 0:4.999.9-0.3.beta.20091007git.el6 will be installed
--> Finished Dependency Resolution
Error: Package: redhat-lsb-core-4.0-7.el6.centos.x86_64 (base)
Requires: perl-CGI
You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
frontpage-2002-SR1.2.i386 has missing requires of

Not ideal.

This will also break if you’re using the /usr/local/cpanel/scripts/upcp or the update option via the WHM web interface.

To fix the issue we need to remove the perl* exclusion from yum.conf which cpanel sets:

cp /etc/yum.conf /etc/yum.conf.backup
sed -i 's/ perl\*//' /etc/yum.conf

This should have just removed the perl* from the exclusion line in the yum.conf. If you want to make sure you can compare the before and after using:

diff /etc/yum.conf /etc/yum.conf.backup

Now you should be able to run ‘yum update’ or ‘/usr/local/cpanel/scripts/upcp’ and all should be well.

If you have one of our cPanel VPS servers and need some help, just let us know.

Problem solved! Thanks for stopping by.

Nick Bryant - Founder

Nick is a 15 year veteran of developing and building successful technology services. He, amongst other things, runs customer service, technical strategy and the cake purchasing rosta at ServerMule. He embraces the joy of learning new technology to the extent any family man can find the time to do.

In 2004 he co-founded what became Australia's largest out of home public ISP, that still services multiple ASX 200 companies and government agencies today.

Follow @NickJBryant
Read More from