SOLVED System update - Error: Package: perl-Git-1.7.1-3.el6_4.1.noarch

amstel

Active Member
Nov 18, 2015
32
4
58
UK
cPanel Access Level
Root Administrator
Hi guys,

I have a problem:
Code:
System update process has started.
... <CUT>
---> Package vim-filesystem.x86_64 2:7.4.629-5.el6_8.1 will be installed
--> Running transaction check
---> Package git.x86_64 0:1.7.1-3.el6_4.1 will be updated
--> Processing Dependency: git = 1.7.1-3.el6_4.1 for package: perl-Git-1.7.1-3.el6_4.1.noarch
---> Package git.x86_64 0:1.7.1-8.el6 will be an update
--> Processing Dependency: perl-Git = 1.7.1-8.el6 for package: git-1.7.1-8.el6.x86_64
---> Package mod_wsgi.x86_64 0:3.2-7.el6 will be an update
--> Processing Dependency: httpd-mmn = 20051115 for package: mod_wsgi-3.2-7.el6.x86_64
---> Package pygobject2.x86_64 0:2.20.0-5.el6 will be installed
--> Finished Dependency Resolution
Error: Package: perl-Git-1.7.1-3.el6_4.1.noarch (@base)
           Requires: git = 1.7.1-3.el6_4.1
           Removing: git-1.7.1-3.el6_4.1.x86_64 (@base)
               git = 1.7.1-3.el6_4.1
           Updated By: git-1.7.1-8.el6.x86_64 (base)
               git = 1.7.1-8.el6
Error: Package: git-1.7.1-8.el6.x86_64 (base)
           Requires: perl-Git = 1.7.1-8.el6
           Installed: perl-Git-1.7.1-3.el6_4.1.noarch (@base)
               perl-Git = 1.7.1-3.el6_4.1
Error: Package: mod_wsgi-3.2-7.el6.x86_64 (base)
           Requires: httpd-mmn = 20051115
 You could try using --skip-broken to work around the problem
** Found 4 pre-existing rpmdb problem(s), 'yum check' output follows:
1:mod_ssl-2.2.15-29.el6.centos.x86_64 has missing requires of httpd = ('0', '2.2.15', '29.el6.centos')
1:mod_ssl-2.2.15-29.el6.centos.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)
mod_wsgi-3.2-3.el6.x86_64 has missing requires of httpd-mmn = ('0', '20051115', None)
webalizer-2.21_02-3.3.el6.x86_64 has missing requires of httpd

-- error(21836) --
yum exited 256
-- /error(21836) --

System update process has finished.
Can you tell me how to fix, please ?
 

amstel

Active Member
Nov 18, 2015
32
4
58
UK
cPanel Access Level
Root Administrator
Thank you for the link.
I have done:

Code:
rpm -e --nodeps mod_wsgi
rpm -e --nodeps mod_ssl
rpm -e --nodeps webalizer

yum clean all
yum update
but still gets:

Code:
--> Finished Dependency Resolution
Error: Package: perl-Git-1.7.1-3.el6_4.1.noarch (@base)
           Requires: git = 1.7.1-3.el6_4.1
           Removing: git-1.7.1-3.el6_4.1.x86_64 (@base)
               git = 1.7.1-3.el6_4.1
           Updated By: git-1.7.1-8.el6.x86_64 (base)
               git = 1.7.1-8.el6
Error: Package: git-1.7.1-8.el6.x86_64 (base)
           Requires: perl-Git = 1.7.1-8.el6
           Installed: perl-Git-1.7.1-3.el6_4.1.noarch (@base)
               perl-Git = 1.7.1-3.el6_4.1
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Code:
yum deplist git

Loaded plugins: fastestmirror, security
Finding dependencies:
Loading mirror speeds from cached hostfile
 * base: mirror.sov.uk.goscomb.net
 * epel: mirrors.coreix.net
 * extras: mirrors.coreix.net
 * updates: mirror.freethought-internet.co.uk
package: git.x86_64 1.7.1-8.el6
  dependency: libssl.so.10(libssl.so.10)(64bit)
   provider: openssl.x86_64 1.0.1e-57.el6
  dependency: libpthread.so.0(GLIBC_2.3.2)(64bit)
   provider: glibc.x86_64 2.12-1.209.el6
   provider: glibc.x86_64 2.12-1.209.el6_9.1
  dependency: perl(File::Find)
   Unsatisfied dependency
  dependency: libz.so.1()(64bit)
   provider: zlib.x86_64 1.2.3-29.el6
  dependency: rtld(GNU_HASH)
   provider: glibc.x86_64 2.12-1.209.el6
   provider: glibc.i686 2.12-1.209.el6
   provider: glibc.i686 2.12-1.209.el6_9.1
   provider: glibc.x86_64 2.12-1.209.el6_9.1
  dependency: perl(Error)
   Unsatisfied dependency
  dependency: perl(Getopt::Long)
   Unsatisfied dependency
  dependency: perl(lib)
   Unsatisfied dependency
  dependency: libpthread.so.0()(64bit)
   provider: glibc.x86_64 2.12-1.209.el6
   provider: glibc.x86_64 2.12-1.209.el6_9.1
  dependency: libpthread.so.0(GLIBC_2.2.5)(64bit)
   provider: glibc.x86_64 2.12-1.209.el6
   provider: glibc.x86_64 2.12-1.209.el6_9.1
  dependency: libcurl.so.4()(64bit)
   provider: libcurl.x86_64 7.19.7-52.el6
   provider: libcurl.x86_64 7.19.7-53.el6_9
  dependency: perl(strict)
   Unsatisfied dependency
  dependency: perl(Cwd)
   Unsatisfied dependency
  dependency: libcrypto.so.10()(64bit)
   provider: openssl.x86_64 1.0.1e-57.el6
  dependency: libssl.so.10()(64bit)
   provider: openssl.x86_64 1.0.1e-57.el6
  dependency: zlib >= 1.2
   provider: zlib.x86_64 1.2.3-29.el6
   provider: zlib.i686 1.2.3-29.el6
  dependency: perl(File::Basename)
   Unsatisfied dependency
  dependency: libz.so.1(ZLIB_1.2.0)(64bit)
   provider: zlib.x86_64 1.2.3-29.el6
  dependency: perl(Exporter)
   Unsatisfied dependency
  dependency: libc.so.6(GLIBC_2.7)(64bit)
   provider: glibc.x86_64 2.12-1.209.el6
   provider: glibc.x86_64 2.12-1.209.el6_9.1
  dependency: perl(File::Spec)
   Unsatisfied dependency
  dependency: rsync
   provider: rsync.x86_64 3.0.6-12.el6
  dependency: /bin/sh
   provider: bash.x86_64 4.1.2-48.el6
  dependency: perl >= 5.006
   Unsatisfied dependency
  dependency: libcrypto.so.10(libcrypto.so.10)(64bit)
   provider: openssl.x86_64 1.0.1e-57.el6
  dependency: /usr/bin/perl
   Unsatisfied dependency
  dependency: perl(Git)
   Unsatisfied dependency
  dependency: less
   provider: less.x86_64 436-13.el6
  dependency: perl(warnings)
   Unsatisfied dependency
  dependency: perl-Git = 1.7.1-8.el6
   Unsatisfied dependency
  dependency: openssh-clients
   provider: openssh-clients.x86_64 5.3p1-122.el6
  dependency: perl(vars)
   Unsatisfied dependency
  dependency: libexpat.so.1()(64bit)
   provider: expat.x86_64 2.0.1-13.el6_8
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,216
463
I have removed the git package and everything works.
Thank you.
Hello,

If you removed the system's git RPM and would still like to use Git, then ensure to review the following quote from the cPanel 64 Release Notes:

Git™ symlinks
In cPanel & WHM version 64, the nightly maintenance script automatically creates symlinks from the /usr/bin directory to the cPanel-provided /usr/local/cpanel/3rdparty/bin/git directory.

If the server's operating system already provisioned git or you installed the RPM for git, the maintenance script will respect your existing configuration. The maintenance script will not create the symlinks for existing files in the /usr/bin directory.

If you remove that operating system-provisioned or RPM for git, run the /usr/local/cpanel/scripts/link_3rdparty_binaries script to create the symlinks to the cPanel-provided binaries.
Thank you.
 

webcast33

Member
Nov 22, 2016
9
0
1
New York
cPanel Access Level
Website Owner
Sorry to reopen this ticket, but I'm having a similar problem. I get an error in upcp every night trying to update git:

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 (updates)
git = 1.7.1-9.el6_9
Available: git-1.7.1-8.el6.x86_64 (base)
git = 1.7.1-8.el6
Error: Package: git-1.7.1-9.el6_9.x86_64 (updates)
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
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest


I realize the necessary update to perl-Git is being blocked by the exclude in yum.conf. Would the following command resolve the problem?
# yum update git --disableexcludes=main --skip-broken

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,216
463
I realize the necessary update to perl-Git is being blocked by the exclude in yum.conf. Would the following command resolve the problem?
# yum update git --disableexcludes=main --skip-broken
Hello,

You should be able to remove the "perl*" entry from the "exclude=" line in the /etc/yum.conf file to allow the update to proceed. You can read more about how Perl works with cPanel & WHM at:

Guide to Perl in cPanel - Perl Environments - Software Development Kit - cPanel Documentation

Thank you.
 

webcast33

Member
Nov 22, 2016
9
0
1
New York
cPanel Access Level
Website Owner
Sorry, still having an issue here. I did update the "exclude" line in /etc/yum.conf and removed "perl*", but cPanel restored the file to the previous state in its next update cycle and again updates failed because of the git/perl-git dependency issue. Please advise how I can get past this problem. Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,216
463
Sorry, still having an issue here. I did update the "exclude" line in /etc/yum.conf and removed "perl*", but cPanel restored the file to the previous state in its next update cycle and again updates failed because of the git/perl-git dependency issue. Please advise how I can get past this problem. Thank you.
Hello,

Are you sure positive the cPanel update lead to the addition of perl* to the exclude= line in /etc/yum.conf? To test this, try removing the entry again, and then manually running a cPanel update via the following command:

Code:
/scripts/upcp
Is the Perl exclusion added back to /etc/yum.conf immediately after the update?

Thank you.
 

webcast33

Member
Nov 22, 2016
9
0
1
New York
cPanel Access Level
Website Owner
Michael, I just removed the "perl*' entry from the yum.conf exclude line and then ran upcp manually. It happened again. The yum.conf file was overwritten/updated (verified by stat-ing the file) while upcp was running. The "perl*" exclusion was restored and the backlog of RPM updates did not complete. Thanks.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,216
463
Hello,

Could you open a support ticket using the link in my signature so we can take a closer look?

Thank you.