OpenVZ Forum


Home » General » Support » Error installing net-snmp centos-5 template
Error installing net-snmp centos-5 template [message #34987] Mon, 16 February 2009 21:00 Go to next message
Griffith is currently offline  Griffith
Messages: 7
Registered: October 2007
Junior Member
I'm trying to install net-snmp in my ve running centos-5 and then I get this:

[root@srv /]# yum install net-snmp
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* rpmforge: ftp-stud.fht-esslingen.de
* base: mirror.ii.uib.no
* updates: mirror.ii.uib.no
* addons: mirror.ii.uib.no
* extras: mirror.ii.uib.no
rpmforge 100% |=========================| 1.1 kB 00:00
base 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package net-snmp.i386 1:5.3.1-24.el5_2.2 set to be updated
--> Processing Dependency: libnetsnmpagent.so.10 for package: net-snmp
--> Processing Dependency: libnetsnmp.so.10 for package: net-snmp
--> Processing Dependency: libnetsnmptrapd.so.10 for package: net-snmp
--> Processing Dependency: libsensors.so.3 for package: net-snmp
--> Processing Dependency: libnetsnmphelpers.so.10 for package: net-snmp
--> Processing Dependency: libnetsnmpmibs.so.10 for package: net-snmp
--> Running transaction check
---> Package lm_sensors.i386 0:2.10.0-3.1 set to be updated
--> Processing Dependency: libsysfs.so.2 for package: lm_sensors
--> Processing Dependency: /usr/sbin/dmidecode for package: lm_sensors
---> Package net-snmp-libs.i386 1:5.3.1-24.el5_2.2 set to be updated
--> Running transaction check
---> Package libsysfs.i386 0:2.0.0-6 set to be updated
---> Package dmidecode.i386 1:2.7-1.28.2.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

============================================================ =================
Package Arch Version Repository Size
============================================================ =================
Installing:
net-snmp i386 1:5.3.1-24.el5_2.2 updates 698 k
Installing for dependencies:
dmidecode i386 1:2.7-1.28.2.el5 base 62 k
libsysfs i386 2.0.0-6 base 46 k
lm_sensors i386 2.10.0-3.1 base 494 k
net-snmp-libs i386 1:5.3.1-24.el5_2.2 updates 1.2 M

Transaction Summary
============================================================ =================
Install 5 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 2.5 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
Package initscripts needs ethtool >= 1.8-2, this is not available.
Package initscripts needs mingetty, this is not available.
Package initscripts needs module-init-tools, this is not available.
Complete!

Any ideas how this can be fixed?

Kernel:
Linux aaa.bbb.ccc 2.6.18-92.1.18.el5.028stab060.2PAE #1 SMP Tue Jan 13 12:31:30 MSK 2009 i686 i686 i386 GNU/Linux

Tools:
vzyum-2.4.0-11
vzrpm44-python-4.4.1-22.5
vzdump-1.1-1
vzrpm44-4.4.1-22.5
vzquota-3.0.12-1
vzpkg-2.7.0-18
vzrpm43-python-4.3.3-7_nonptl.6
vzrpm43-4.3.3-7_nonptl.6
vztmpl-centos-5-2.0-2
vzctl-lib-3.0.23-1
vzctl-3.0.23-1

Anyone?

[Updated on: Tue, 17 February 2009 21:27]

Report message to a moderator

Re: Error installing net-snmp centos-5 template [message #34999 is a reply to message #34987] Wed, 18 February 2009 21:44 Go to previous messageGo to next message
Griffith is currently offline  Griffith
Messages: 7
Registered: October 2007
Junior Member
anyone?
Re: Error installing net-snmp centos-5 template [message #35066 is a reply to message #34987] Wed, 25 February 2009 02:09 Go to previous messageGo to next message
jlar is currently offline  jlar
Messages: 1
Registered: September 2007
Junior Member
I have the same problem. Running Centos 5, yum attempts to install net-snmp from centos-udates-cached and returns the same errors as OP. I will try to replicate this problem on another VE and report back.
Re: Error installing net-snmp centos-5 template [message #35318 is a reply to message #34987] Tue, 17 March 2009 11:44 Go to previous messageGo to next message
n00b_admin is currently offline  n00b_admin
Messages: 77
Registered: July 2006
Location: Romania
Member
Hello,

I encountered the same problem.

The fix was to install the dependencies in one sweep.

I've done:

yum install ethtool mingetty module-init-tools

This installed all the above packages and automatically removed "dummy-centos-5"

Afterwards, the installation of the net-snmp package worked.
Re: Error installing net-snmp centos-5 template [message #35319 is a reply to message #34987] Tue, 17 March 2009 11:51 Go to previous message
Griffith is currently offline  Griffith
Messages: 7
Registered: October 2007
Junior Member
Thanks. That worked Smile
Previous Topic: Sharing between VPS
Next Topic: OpenVPN inside OpenVZ container - Socket bind failed on local address 192.168.0.91:1194: Address..
Goto Forum:
  


Current Time: Fri Jul 19 19:31:00 GMT 2024

Total time taken to generate the page: 0.02293 seconds