[CPANEL-26163] *perl exclude in /etc/yum.conf prevents lvemanager from updating
Running CloudLinux 6 and it seems lvemanager-4.0-19.7.el6 now requires git to be installed which I'd rather not do as cpanel-git already provides a newer version.
The yum update is automatically failing due to perl* packages being excluded by default.
Whats the best solution to this?
--> Processing Dependency: git for package: lvemanager-4.0-19.7.el6.cloudlinux.noarch
--> Running transaction check
---> Package git.x86_64 0:1.7.1-9.el6_9 will be installed
--> Processing Dependency: perl-Git = 1.7.1-9.el6_9 for package: git-1.7.1-9.el6_9.x86_64
--> Processing Dependency: perl(Git) for package: git-1.7.1-9.el6_9.x86_64
--> Finished Dependency Resolution
Error: Package: git-1.7.1-9.el6_9.x86_64 (cloudlinux-x86_64-server-6)
Requires: perl-Git = 1.7.1-9.el6_9
Error: Package: git-1.7.1-9.el6_9.x86_64 (cloudlinux-x86_64-server-6)
Requires: perl(Git)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest-
Hi @IdleServ You won't be able to use cPanel's Git for this you'll need to install the dependencies in order to update. My own test server running CentOS 7 has these as well along with cPanel's git: [root@server mysql]# rpm -qa |egrep -i 'perl-git|git-1.8.3.1-14|cpanel-git-2' cpanel-git-2.17.1-2.cp1170.x86_64 perl-Git-1.8.3.1-14.el7_5.noarch git-1.8.3.1-14.el7_5.x86_64
Keep in mind that cPanel's Git is being used directly with cPanel services. Thanks!0 -
Great, thanks. The solution to this problem was: yum install perl-Git --disableexcludes=main0 -
Hi @IdleServ Thank you for updating with what resolved the issue for you! 0 -
Thanks @IdleServ, this has been eating at me for several hours. 0 -
Hello Everyone, We're publishing the following fix in cPanel & WHM version 82 to prevent the automatic addition of the perl exclude to the /etc/yum.conf file: Case CPANEL-26163: Do not add perl exclude to yum.conf if system perl was found to be altered. If you're using CloudLinux 6 and the "perl*" entry already exists on the "exclude=" line in the system's /etc/yum.conf file, then you must follow the steps below to solve the issue: 1. Open the system's /etc/yum.conf file via your preferred command line text editor and remove the "perl*" entry from the "exclude=" line. 2. Execute the following command as root to remove the git-cpanel CloudLinux RPM (CloudLinux no longer supports this RPM): yum remove git-cpanel
3. Execute the following command as root to update the CloudLinux lvemanager package (this will install the proper CloudLinux Git RPM):yum update lvemanager
Thank you.0
Please sign in to leave a comment.
Comments
5 comments