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!
Can't download new apps to your phone because there isn't enough storage space? Lack of…
This issue started to appear on macOS 13 Ventura after recent Dropbox update. I would…
Since this morning (Feb 5th 2020) search just stopped working on my Windows 10 (version…
Many of you have run into a problem when you were working on some old…
After 10 years of running my main desktop computer on Windows 7 - time has…
I installed VestaCP for a clien on a new dedicated server running CentOS 7. Once…
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
any text editor is fine... vi /etc/yum.conf would do just fine...
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?
Tried using this
# yum install git-core
Worked great. Thanks for the tip.
That was precise
Thanks.
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" ?
I'm not 100% sure but you can try...
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*
Is there a way to get FrontPage installed back on the server via yum? It's gone after a cpanel update.
I have no idea since I don't use FrontPage at all. Have you tried to google that question out?