The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Unresolvable chain of dependencies:

Discussion in 'General Discussion' started by bruceleeon, Apr 5, 2007.

  1. bruceleeon

    bruceleeon Active Member

    Joined:
    Jul 20, 2004
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    During cPanel update i get a huge list of dependency errors. The question is, do I need to do something about it, and how do I do it?

    I checked to see if /usr/bin/perl existed... and it does.

    Thanks in advance for your help!
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You're seeing the problem because of the way rpm dependencies work. Because the perl rpm wasn't installed (it was done only from source) other packages that need perl don't think it is installed either (as it doesn't appear in the rpm database) and so it borks.

    How you do that depends on your OS. But you can do it by downloading the perl rpm from your OS repository and then install that rpm using:

    rpm -Uvh --justdb perl*.rpm

    For example, for RHEv4/CentOSv4 you could use:

    rpm -Uvh --justdb http://mirror.centos.org/centos-4/4.4/os/i386/CentOS/RPMS/perl-5.8.5-36.RHEL4.i386.rpm


    The perl dependency issues should then go away.
     
  3. bruceleeon

    bruceleeon Active Member

    Joined:
    Jul 20, 2004
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    I ran

    That seems to have fixed it so far.
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    That's not a good idea as you've now overwritten the cPanel installed perl installation with all the correctly installed perl modules with an older version of perl. I'd recommend reinstalling perl 5.8.7/5.8.8 using the tarball from layer1.
     
  5. bruceleeon

    bruceleeon Active Member

    Joined:
    Jul 20, 2004
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
  6. bruceleeon

    bruceleeon Active Member

    Joined:
    Jul 20, 2004
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Should I still be worried?
     
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    That should be fine now.
     
Loading...
Similar Threads - Unresolvable chain dependencies
  1. anthony valentin
    Replies:
    2
    Views:
    159

Share This Page