Pages: [1]   Go Down
Author Topic: error: Failed dependencies: perl-SNMP is needed by pandorafms_server-4.0  (Read 1224 times)
0 Members and 2 Guests are viewing this topic.
Trong Hieu
Newbie
*

Karma: 0
Offline Offline

Posts: 3


View Profile
« on: October 10, 2011, 10:49:24 AM »

My error : when install  pandorafms_server-4.0-1.noarch.rpm on centos 6 X86_64 .

# uname  -rim
2.6.32-71.29.1.el6.x86_64 x86_64 x86_64

# rpm -ihv pandorafms_server-4.0-1.noarch.rpm

error: Failed dependencies:
        perl-SNMP is needed by pandorafms_server-4.0-1.noarch

And I try install perl-SNMP by command

# yum install perl-SNMP

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror-fpt-telecom.fpt.net
 * extras: mirror-fpt-telecom.fpt.net
 * rpmforge: fr2.rpmfind.net
 * updates: mirror-fpt-telecom.fpt.net
Setting up Install Process
No package perl-SNMP available.
Error: Nothing to do

Please help me .

Thanks !

 
Logged

jartal
Sr. Member
****

Karma: 0
Offline Offline

Posts: 142


View Profile
« Reply #1 on: October 10, 2011, 03:24:22 PM »

I had the same problem and it was because the real package you have to install in net-snmp-perl

Try installing this package

Code:
[root@pandora]# yum install net-snmp-perl

Everything is explain here in post number 13 of the topic (in spanish)

Quote
Vale resulta que para RHEL5, CentOS5, etc, el paquete que contiene SNMP.pm no es perl-SNMP sino net-snmp-perl.

Comprueba si instalando esa dependencia se corrige el error.

Será conveniente identificar esto en la documentación y el spec del instalador para evitar futuros errores.

Gracias y un saludo. ;)

http://openideas.info/smf/index.php/topic,4406.0.html

Regards
Logged

Trong Hieu
Newbie
*

Karma: 0
Offline Offline

Posts: 3


View Profile
« Reply #2 on: October 11, 2011, 12:01:13 AM »

Thank you for your support !

but Package net-snmp-perl not solved this error on Centos 5.6 and centos 6.0 (64bit).

# yum install net-snmp-perl
Loaded plugins: fastestmirror
Repository c5-testing is listed more than once in the configuration
Loading mirror speeds from cached hostfile
 * base: mirror-fpt-telecom.fpt.net
 * epel: ftp.cuhk.edu.hk
 * extras: mirror-fpt-telecom.fpt.net
 * rpmforge: fr2.rpmfind.net
 * updates: mirror-fpt-telecom.fpt.net
base                                                                                          | 1.1 kB     00:00
c5-testing                                                                                    | 1.9 kB     00:00
epel                                                                                          | 3.7 kB     00:00
extras                                                                                        | 2.1 kB     00:00
rpmforge                                                                                      | 1.1 kB     00:00
updates                                                                                       | 1.9 kB     00:00
Setting up Install Process
Package 1:net-snmp-perl-5.3.2.2-14.el5_7.1.x86_64 already installed and latest version
Nothing to do

# rpm  -ihv pandorafms_server-4.0-1.centos5.noarch.rpm
error: Failed dependencies:
        perl-SNMP is needed by pandorafms_server-4.0-1.noarch

How to resolve this error  to install pandorafms_server-4.0-1.centos5.noarch.rpm !

Thanks .
Logged

jartal
Sr. Member
****

Karma: 0
Offline Offline

Posts: 142


View Profile
« Reply #3 on: October 11, 2011, 02:44:01 PM »

I post in other forum when I had the problem and they suggest to me to install a "dummy" package so you can continue with the installation without asking for that package. Try to install the package I attached (is only 5 Kb)

Try it and tell if it works :)

Regards

* perl-SNMP-5.3.2.2-1.i386.rpm (4.15 KB - downloaded 301 times.)
Logged

Trong Hieu
Newbie
*

Karma: 0
Offline Offline

Posts: 3


View Profile
« Reply #4 on: October 12, 2011, 12:00:33 AM »

Thank you very much !

Solved this error with This Package .




 
« Last Edit: October 12, 2011, 12:07:10 AM by Trong Hieu » Logged

fadosani
Spammer
Newbie
*

Karma: -65535
Offline Offline

Posts: 4


View Profile
« Reply #5 on: November 01, 2011, 09:39:35 AM »

Thanks dear. Indeed is a good solution..
Logged

Pages: [1]   Go Up
Print
 
Jump to:  


SourceForge.net Logo  This site is monitored by Pandora FMS   ArticaST