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.

cannot install mrtg

Discussion in 'General Discussion' started by Spiral, Dec 28, 2006.

  1. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    Missing perl modules outside those needed for Cpanel can be installed with 'cpan' ...
     
  2. linux.newbie

    linux.newbie Well-Known Member

    Joined:
    Sep 8, 2006
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    6
    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.
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    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
     
Loading...

Share This Page