Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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

Discussion in 'General Discussion' started by amstel, Apr 17, 2017.

Tags:
  1. amstel

    amstel Member

    Joined:
    Nov 18, 2015
    Messages:
    19
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    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 ?
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    You can find a similar thread on this topic, with an included resolution, at:

    UPCP error - how to fix?

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    amstel likes this.
  3. amstel

    amstel Member

    Joined:
    Nov 18, 2015
    Messages:
    19
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    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
     
  4. amstel

    amstel Member

    Joined:
    Nov 18, 2015
    Messages:
    19
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    I have removed the git package and everything works.
    Thank you.
     
    Infopro likes this.
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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:

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. webcast33

    webcast33 Member

    Joined:
    Nov 22, 2016
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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.
     
  7. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. webcast33

    webcast33 Member

    Joined:
    Nov 22, 2016
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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.
     
  9. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. webcast33

    webcast33 Member

    Joined:
    Nov 22, 2016
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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.
     
  11. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

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

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. webcast33

    webcast33 Member

    Joined:
    Nov 22, 2016
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    New York
    cPanel Access Level:
    Website Owner
    Sorry, not following. "Link in my signature"?
     
  13. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice