Unresolvable chain of dependencies:

bruceleeon

Active Member
Jul 20, 2004
31
1
158
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?

Unresolvable chain of dependencies:
gd-progs 1.8.4-12.3.1 requires /usr/bin/perl
gd-progs 1.8.4-12.3.1 requires perl
gd-progs 1.8.4-12.3.1 requires perl(strict)
gnupg 1.2.1-20 requires /usr/bin/perl
gnupg 1.2.1-20 requires perl(Getopt::Std)
lynx 2.8.5-11.2 requires /usr/bin/perl
perl-CGI-2.89-94.EL3 requires perl >= 0:5.000
perl-CGI-2.89-94.EL3 requires perl >= 0:5.004
perl-CGI-2.89-94.EL3 requires perl >= 2:5.8.0-94.EL3
perl-CGI 2.89-94.EL3 requires perl(Carp)
perl-CGI 2.89-94.EL3 requires perl(Exporter)
perl-CGI 2.89-94.EL3 requires perl(FCGI)
perl-CGI 2.89-94.EL3 requires perl(File::Spec)
perl-CGI 2.89-94.EL3 requires perl(constant)
perl-CGI 2.89-94.EL3 requires perl(overload)
perl-CGI 2.89-94.EL3 requires perl(strict)
perl-CGI 2.89-94.EL3 requires perl(vars)
perl-CPAN-1.61-94.EL3 requires perl >= 2:5.8.0-94.EL3
perl-CPAN 1.61-94.EL3 requires perl(Carp)
perl-CPAN 1.61-94.EL3 requires perl(Config)
perl-CPAN 1.61-94.EL3 requires perl(Cwd)
perl-CPAN 1.61-94.EL3 requires perl(DirHandle)
perl-CPAN 1.61-94.EL3 requires perl(Exporter)
perl-CPAN 1.61-94.EL3 requires perl(ExtUtils::MakeMaker)
perl-CPAN 1.61-94.EL3 requires perl(File::Basename)
perl-CPAN 1.61-94.EL3 requires perl(File::Copy)
perl-CPAN 1.61-94.EL3 requires perl(File::Find)
perl-CPAN 1.61-94.EL3 requires perl(File::Path)
perl-CPAN 1.61-94.EL3 requires perl(File::Spec)
perl-CPAN 1.61-94.EL3 requires perl(FileHandle)
perl-CPAN 1.61-94.EL3 requires perl(Safe)
perl-CPAN 1.61-94.EL3 requires perl(Sys::Hostname)
perl-CPAN 1.61-94.EL3 requires perl(Text::ParseWords)
perl-CPAN 1.61-94.EL3 requires perl(Text::Wrap)
perl-CPAN 1.61-94.EL3 requires perl(base)
perl-CPAN 1.61-94.EL3 requires perl(strict)
perl-CPAN 1.61-94.EL3 requires perl(vars)
sharutils 4.2.1-16.2 requires /usr/bin/perl
I checked to see if /usr/bin/perl existed... and it does.

Thanks in advance for your help!
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,466
30
473
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.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,466
30
473
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.
 
Thread starter Similar threads Forum Replies Date
S General Discussion 14
X General Discussion 1
N General Discussion 6