LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 04-12-2010, 03:30 AM   #1
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Centos net-snmp rpm problem


Not sure if it belongs here but I can't find a dedicated Centos subforum here. Feel free to move if necessary

Centos 5.4 installed and I'm trying to install software that requires net-snmp.

rpm -i net-snmp-libs-5.3.2.2-7.el5.i386.rpm tells me that the package is already installed
rpm -q net-snmp-libs-5.3.2.2-7.el5.i386.rpm tells me that the package is not installed

I'm not a RH man, so not sure what to make from this.

Thanks in advance for any advice. WimS



PS there is an additional message when running the first command above: Header V3 DSA signature: NOKEY, key ID e8562897; might be relevant or not

Last edited by Wim Sturkenboom; 04-12-2010 at 03:33 AM.
 
Old 04-12-2010, 12:33 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,539

Rep: Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506Reputation: 2506
The latest update is net-snmp-libs-5.3.2.2-7.el5_4.2.i386
http://mirror.centos.org/centos/5.4/...5_4.2.i386.rpm

net-snmp-libs-5.3.2.2-7.el5.i386.rpm is not a valid name for
rpm -q .
Valid is : net-snmp-libs and net-snmp-libs-5.3.2.2-7.el5

The correct way of install is : # yum install net-snmp-libs
( Then no warnings about an old/missing "V3 DSA signature")
.. The "rpm -Uvh" etc.: to be used only for a computer with
no internet connection. "rpm -i " : No. See 'man rpm'.

The package net-snmp-libs is a default one by OS install.
Please check with : rpm -qa | grep net-snmp
.....

For replacing an already installed package: --force →
rpm -Uvh --force <package>.rpm

May be your application needs net-snmp-devel ?
Packages http://mirror.centos.org/centos/5.4/os/i386/CentOS/
Updates http://mirror.centos.org/centos/5.4/updates/i386/RPMS/
..
http://mirror.centos.org/centos/5.4/
..

Last edited by knudfl; 04-12-2010 at 12:47 PM.
 
Old 04-13-2010, 01:57 AM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Original Poster
Rep: Reputation: 282Reputation: 282Reputation: 282
knudfl, thanks for the reply

Quote:
net-snmp-libs-5.3.2.2-7.el5.i386.rpm is not a valid name for
rpm -q .
Valid is : net-snmp-libs and net-snmp-libs-5.3.2.2-7.el5
Explains a lot; learned something again and it answered the basic question.

The system does not have an internet connection and the extra SW that I'm trying to install requires net-snmp, not necessarily net-snmp-libs. I eventually found that they are two different things after I started digging through the 6 CDs (net-snmp is on #4, net-snmp-libs on #1)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with net-snmp aspenbr Linux - Networking 4 08-07-2012 01:46 PM
Integrate Mod-Apache-Snmp with Net-SNMP source kirukan Linux - Server 2 05-11-2011 01:48 AM
Net-SNMP writing a Subagent - snmp.conf Unknown token: master AustinMarton Programming 0 12-16-2008 07:34 PM
net-snmp subagent problem watsonpan Linux - Software 0 09-21-2005 01:30 AM
blocking smux after net-snmp rpm install relayer416 Linux - Software 0 02-16-2005 07:50 PM


All times are GMT -5. The time now is 03:17 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration