Solution for yum problems on new CentOS 6 + WHM installations

Recently I discovered problems trying to install anything using yum on new servers based on CentOS 6 (64-bit) + WHM/cPanel. I was trying to install subversion using yum:

yum install subversion

And I was getting following output:

Error: Package: subversion-1.6.11-7.el6.x86_64 (base)
           Requires: perl(URI) >= 1.17
 You could try using --skip-broken to work around the problem
** Found 5 pre-existing rpmdb problem(s), 'yum check' output follows:
bandmin-1.6.1-5.noarch has missing requires of perl(bandmin.conf)
bandmin-1.6.1-5.noarch has missing requires of perl(bmversion.pl)
bandmin-1.6.1-5.noarch has missing requires of perl(services.conf)
exim-4.77-1.x86_64 has missing requires of perl(SafeFile)
frontpage-2002-SR1.2.i386 has missing requires of libexpat.so.0

And I would get that trying to install just about anything with yum or by calling yum check.

To solve this problem you will have to open /etc/yum.conf for editing and to locate perl* in exclude= line and remove it (just perl* part). Now install anything by running the yum install package_name it will solve all those problems that you had! Once the installation is done and problems are solved, don’t forget to put perl* back to /etc/yum.conf in exclude= list!

Tags: frontpage-2002-sr1 2 i386 has missing requires of libexpat so 0, bandmin-1 6 1-5 noarch has missing requires of perl(bandmin conf), ** found 29 pre-existing rpmdb problem(s) \yum check\ output follows:

View Comments

  • How can i remove that do i need to use any ediotor to remove that line like vi /etc/yum.conf ??? and what about this command do this one help? yum --disableexcludes=main install git

  • Thank you. This worked perfectly. I wast trying to install git and it just wasn't working. The one thing I was wondering is why perl should be excluded. Do you know why that would be?

  • CPanel has that perl exclude in yum.conf for a reason. CPanel ships their own version of perl and apparently the updated, sane version from the OS vendor doesn't meet their requirements.

    Removing anything from the yum.conf exclude line and expecting CPanel to work (for some value of "work") later on is very optimistic.

  • HI, I get
    ** Found 6 pre-existing rpmdb problem(s), 'yum check' output follows:
    frontpage-2002-SR1.2.i386 has missing requires of libexpat.so.0
    mod_hostinglimits-1.0-8.el6.cloudlinux.x86_64 has missing requires of httpd
    1:mod_ssl-2.2.15-15.el6_2.2.cloudlinux.x86_64 has missing requires of httpd
    1:mod_ssl-2.2.15-15.el6_2.2.cloudlinux.x86_64 has missing requires of httpd = (' 0', '2.2.15', '15.el6_2.2.cloudlinux')
    1:mod_ssl-2.2.15-15.el6_2.2.cloudlinux.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)
    mod_wsgi-3.2-1.el6.x86_64 has missing requires of httpd-mmn = ('0', '20051115',

    DOES THAT MEANS I do the same but with "httpd" ?

  • not work for me

    I dont have perl* in that line:

    exclude=bind-chroot courier* dovecot* exim* filesystem httpd* mod_ssl* mydns* mysql* nsd* php* proftpd* pure-ftpd* ruby* spamassassin* squirrelmail*

Share
Published by
Nick

Recent Posts

How to Manage Storage on Smartphone: 12 Ways

Can't download new apps to your phone because there isn't enough storage space? Lack of…

10 months ago

Spotlight Search won’t open the files it finds in Dropbox with associated application

This issue started to appear on macOS 13 Ventura after recent Dropbox update. I would…

1 year ago

Windows 10 Search fix

Since this morning (Feb 5th 2020) search just stopped working on my Windows 10 (version…

4 years ago

The mysql_result in mysqli

Many of you have run into a problem when you were working on some old…

4 years ago

How to convert physical Windows PC into a virtual machine

After 10 years of running my main desktop computer on Windows 7 - time has…

4 years ago

How to downgrade PHP 7.4 to PHP 7.3 on VestaCP running on CentOS 7

I installed VestaCP for a clien on a new dedicated server running CentOS 7. Once…

4 years ago