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.
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.
You are confusing
net-snmp-perl
andperl-Net-SNMP
. They are not the same. The file lists do not overlap.perl-Net-SNMP
providesperl(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.install it from here
http://packages.sw.be/perl-Net-SNMP/
A summary of the answers here with added commands:
Copy paste command line fu:
I have had similiar problems:
The origin of the problem was an additional package repository, in my case 'Dag RPM Repository for Red Hat Enterprise Linux'. I have created an extra configuration file /etc/yum.repos.d/dag.repo
To check if you have the same problem, execute the following command
The solution is to exclude this package in the dag-repository. You can do this on repository level.
Add the following line to the additional repository configuration file(/etc/yum.repos.d/dag.repo):
Note: If you want to exclude more packages just add them to the line with a space between different excludes.