nagios Missing Dependency: perl(Net::SNMP)
Solution 1
Just in case someone else is having issues with this: check your yum exclude list here: /etc/yum.conf
with Cpanel installed lots of packages are getting excluded. So for the one-off install of nagios-nrpe remove perl* from the list of excluded packages, run 'yum install nagios-nrpe.x86_64' and add it back after installation.
Solution 2
You are confusing net-snmp-perl
and perl-Net-SNMP
. They are not the same. The file lists do not overlap.
perl-Net-SNMP
provides perl(Net::SNMP)
Details: net-snmp-perl
is the perl interface to the net-snmp (aka ucsd snmp) library. perl-Net-SNMP
is completely independent of (and does not require) the net-snmp library.
Related videos on Youtube
Comments
-
Mech almost 2 years
I have an odd problem. I'm trying to install nagios NRPE but it keeps failing with
nagios-plugins-1.4.15-2.el5.rf.i386 from rpmforge has depsolving problems --> Missing Dependency: perl(Net::SNMP) is needed by package nagios-plugins-1.4.15-2.el5.rf.i386 (rpmforge)
The package
1:net-snmp-perl-5.3.2.2-9.el5_5.1.i386
is already installed and latest version.Thoughts?
The environment is Centos 5.5 with Cpanel 11 installed.
-
Scott Pack over 13 yearsIs the base nagios package already installed, and from which repository did you install it?
-
-
Mech over 13 yearsThis is a dependency nightmare, I cant install that without other modules that are "already" installed. Can't I update a repo or something and do this with yum?
-
Mech over 13 yearsI got that the package perl-Net-SNMP is not available. I'm using RPMForge is there another repo I should be using?
-
MastaJeet over 13 years@mech-software No, it is in rpmforge: yum info perl-Net-SNMP Loaded plugins: fastestmirror, priorities 68 packages excluded due to repository priority protections Available Packages Name : perl-Net-SNMP Arch : noarch Version : 5.2.0 Release : 1.2.el5.rf Size : 96 k Repo : rpmforge
-
MastaJeet over 13 yearsyum repolist | grep rpmforge: rpmforge RHEL 5 - RPMforge.net - dag enabled: 10,152