Spiral

BANNED
Jun 24, 2005
2,018
8
193
Missing perl modules outside those needed for Cpanel can be installed with 'cpan' ...
 

linux.newbie

Well-Known Member
Sep 8, 2006
73
0
156
Hi all,

I am getting the following error while trying to install mrtg on CentOS release 4.4 (Final)

`````````````````````````````````````````````````````````````````````````````````
yum install mrtg
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package mrtg.i386 0:2.10.15-1 set to be updated
--> Running transaction check
--> Processing Dependency: perl(URI) for package: mrtg
--> Finished Dependency Resolution
Error: Missing Dependency: perl(URI) is needed by package mrtg

`````````````````````````````````````````````````````````````````````````````````
URI seems to be installed, I have tried upcp too.. any help is appreciated.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
The missing perl module is not the issue.

You're seeing the problem due to a recent change by cPanel to have perl* in /etc/yum.conf exclude= list. yum won't install mrtg because there's an rpm dependency with the URI perl module rpm that yum requires with the version of perl it thinks you have installed.

You can work around this by forcing the mrtg through without the depnedency check as (as you have said) you have the latest URI perl module already installed via cpan instead of yum:

Code:
rpm -Uvh --nodeps http://mirror.centos.org/centos-4/4.4/os/i386/CentOS/RPMS/mrtg-2.10.15-1.i386.rpm