bear

Well-Known Member
Sep 24, 2002
129
4
168
cPanel Access Level
Root Administrator
Referring back to an older thread on this:
SOLVED - System update - Error: Package: perl-Git-1.7.1-3.el6_4.1.noarch

Seems I'm having this same issue, with a twist. If I edit /etc/yum.conf to remove "perl*" then run the command "/usr/local/cpanel/scripts/rpmup", it once again fails, and the yum.conf file again has that perl* line in the excludes. I edited with nano, checked immediately after and it was removed. As soon as I invoke the rpmup call, it's back and it fails.

Full error:
Error: Package: perl-Git-1.7.1-4.el6_7.1.noarch (@updates)
You could try using --skip-broken to work around the problem
Error: Package: git-1.7.1-9.el6_9.x86_64 (base)
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
info [rpmup] Completed yum execution “--assumeyes --config /etc/yum.conf update”: in 12.640 second(s).
(XID xg73xp) The system failed to execute yum with the arguments “--assumeyes --config /etc/yum.conf update” because of an error: The “/usr/bin/yum --assumeyes --config /etc/yum.conf update” command (process 8226) reported error number 1 when it ended. : Error: Package: perl-Git-1.7.1-4.el6_7.1.noarch (@updates)
Requires: git = 1.7.1-4.el6_7.1
Removing: git-1.7.1-4.el6_7.1.x86_64 (@updates)
git = 1.7.1-4.el6_7.1
Updated By: git-1.7.1-9.el6_9.x86_64 (base)
git = 1.7.1-9.el6_9
Error: Package: git-1.7.1-9.el6_9.x86_64 (base)
Requires: perl-Git = 1.7.1-9.el6_9
Installed: perl-Git-1.7.1-4.el6_7.1.noarch (@updates)
perl-Git = 1.7.1-4.el6_7.1
 
  • Like
Reactions: frankbret

bear

Well-Known Member
Sep 24, 2002
129
4
168
cPanel Access Level
Root Administrator
This fix appears to have worked.
Ran "yum install git --disableexcludes=main --skip-broken".
Once that was done, ran "/usr/local/cpanel/scripts/rpmup" and it completed without error.
 
  • Like
Reactions: frankbret

GOT

Get Proactive!
PartnerNOC
Apr 8, 2003
1,739
301
363
Chesapeake, VA
cPanel Access Level
DataCenter Provider
Did the perl* get put back in the exclude line? If its still there you might try this

-remove the perl* from the exclude line from /etc/yum.conf
-run a "yum update" on the machine as there are many updates available, including for Perl
-re-run "rpm -V perl-5.10.1" to make sure there are no more missing files on the system
-run "/scripts/upcp --force" to force a manual cPanel update
-check the /etc/yum.conf file to see if it's still being added
 
  • Like
Reactions: cPanelLauren

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,297
1,251
313
Houston
If after following the advice provided by @GOT perl is continuing to be added to the yum.conf will you please open a ticket using the link in my signature? Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved.


Thanks!
 
  • Like
Reactions: frankbret