Missing perl modules outside those needed for Cpanel can be installed with 'cpan' ...
Missing perl modules outside those needed for Cpanel can be installed with 'cpan' ...
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.
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
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com