Is it safe to remove Perl from yum excludes?

4u123

Well-Known Member
PartnerNOC
Jan 2, 2006
948
29
178
We have encountered an issue with latest updates on our CL6 servers in that a conflict has arisen with perl-git as a result of perl being in the excludes section of yum.conf. We added this in on the recommendation of cpanel as I understand the perl installation is maintained by cpanel on these servers and not by the OS.

Code:
Error: Package: perl-Git-1.7.1-9.el6_9.noarch (@cloudlinux-x86_64-server-6)
           Requires: git = 1.7.1-9.el6_9
           Removing: git-1.7.1-9.el6_9.x86_64 (@cloudlinux-x86_64-server-6)
               git = 1.7.1-9.el6_9
           Updated By: git-1.7.1-10.el6_10.x86_64
(cloudlinux-x86_64-server-6)
               git = 1.7.1-10.el6_10
           Available: git-1.7.1-2.el6.1.x86_64 (cloudlinux-x86_64-server-6)
               git = 1.7.1-2.el6.1
           Available: git-1.7.1-3.el6_4.1.x86_64
(cloudlinux-x86_64-server-6)
               git = 1.7.1-3.el6_4.1
           Available: git-1.7.1-4.el6_7.1.x86_64
(cloudlinux-x86_64-server-6)
               git = 1.7.1-4.el6_7.1
           Available: git-1.7.1-8.el6.x86_64 (cloudlinux-x86_64-server-6)
               git = 1.7.1-8.el6
Error: Package: git-1.7.1-10.el6_10.x86_64 (cloudlinux-x86_64-server-6)
           Requires: perl-Git = 1.7.1-10.el6_10
           Installed: perl-Git-1.7.1-9.el6_9.noarch
(@cloudlinux-x86_64-server-6)
               perl-Git = 1.7.1-9.el6_9
 
  • Like
Reactions: imorandin

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
It is safe to remove Perl from yum excludes. We removed that requirement in v82 (releases are in even numbers) and the only instances in which it was retained were where the yum.conf had been modified or there was something preventing the editing of the file.