SOLVED [CPANEL-26163] *perl exclude in /etc/yum.conf prevents lvemanager from updating

IdleServ

Well-Known Member
Oct 27, 2003
51
2
158
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?

Code:
--> 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
 

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
7,391
585
263
Houston
cPanel Access Level
DataCenter Provider
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:
Code:
[[email protected] 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!
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,903
2,226
363
cPanel Access Level
DataCenter Provider
Twitter
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):

Code:
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):

Code:
yum update lvemanager
Thank you.