LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-13-2009, 08:21 AM   #1
scottyp55
Member
 
Registered: Oct 2009
Posts: 53

Rep: Reputation: 21
Failes Dependency Error


I am running Red Hat 4 and I'm trying to install the following RPM rpm -i net-snmp-5.3.2.2-5.el5.i386.rpm

and I am getting the error below.

error: Failed dependencies:
net-snmp-libs = 1:5.3.2.2-5.el5 is needed by net-snmp-5.3.2.2-5.el5.i386

Can anyone tell me how to fix this?

Thanks,
Scott
 
Old 10-13-2009, 09:03 AM   #2
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by scottyp55 View Post
I am running Red Hat 4 and I'm trying to install the following RPM rpm -i net-snmp-5.3.2.2-5.el5.i386.rpm

and I am getting the error below.

error: Failed dependencies:
net-snmp-libs = 1:5.3.2.2-5.el5 is needed by net-snmp-5.3.2.2-5.el5.i386

Can anyone tell me how to fix this?

Thanks,
Scott
you will need to install net-snmp-libs.
or use yum to install net-snmp and it will fetch dependencies for you
 
Old 10-13-2009, 09:26 AM   #3
scottyp55
Member
 
Registered: Oct 2009
Posts: 53

Original Poster
Rep: Reputation: 21
Thank you for your response.
I'm new to Linux and I'm not sure where to find the lib or how to run yum. Is there any chance you could give me some detail on this ?

Thanks,
Scott
 
Old 10-13-2009, 10:42 AM   #4
scottyp55
Member
 
Registered: Oct 2009
Posts: 53

Original Poster
Rep: Reputation: 21
Does anyone know how to do this?
 
Old 10-13-2009, 11:05 AM   #5
lutusp
Member
 
Registered: Sep 2009
Distribution: Fedora
Posts: 835

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by scottyp55 View Post
Thank you for your response.
I'm new to Linux and I'm not sure where to find the lib or how to run yum. Is there any chance you could give me some detail on this ?

Thanks,
Scott
Open a root shell and type:

Code:
# yum install net-snmp
 
Old 10-13-2009, 11:11 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Just in case OP doesn't know what a shell is....

Open a terminal

enter "su" to become root (enter root password)

enter the command


@scotty*; Please don't bump your threads---someone usually comes along eventually. Also, if you bump before anyone has replied, then it falls off the "zero-reply list" and you might lose some possible helpers.
 
Old 10-13-2009, 12:00 PM   #7
scottyp55
Member
 
Registered: Oct 2009
Posts: 53

Original Poster
Rep: Reputation: 21
Thanks for the reply lutusp.

This is what I get when I run that.

[root@lpoid01 snmp]# yum install net-snmp
Loaded plugins: security
Bad id for repo: Install DVD, byte = 7
Bad id for repo: Install DVD, byte = 7
Setting up Install Process
Parsing package install arguments
No package net-snmp available.
Nothing to do


Any ideas?
Thanks,
Scott
 
Old 10-13-2009, 02:50 PM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Look in /etc/yum.conf or /etc/yum.repos.d to see what repository is specified.

I'm not a yum user (I know the above only because RHEL is on this machine) but I'm sure their is a search option to show you what is available in the repository.

"man yum" for more info.
 
Old 10-13-2009, 02:50 PM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Obviously there isn't a proper repo setup.
So is that your computer with a new installed RH EL 4 ?

The package net-snmp-5.3.2.2-5.el5.i386.rpm is not for EL 4,
but for EL 5.
May be you can get both net-snmp-libs + net-snmp
from the install DVD ? ?
.....
 
Old 10-13-2009, 06:21 PM   #10
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
RHEL 4 uses up2date, yum came in for version 5. Here's a good cmd list howto
http://kbase.redhat.com/faq/docs/DOC-2531
Use one of the 'list' options to get the correct pkg name.
 
Old 10-19-2009, 11:43 AM   #11
scottyp55
Member
 
Registered: Oct 2009
Posts: 53

Original Poster
Rep: Reputation: 21
Thanks to everyone for their help.
I ended up having to get a newer version of the net-snmp file net-snmp-5.3.2.2-5.el5_3.1.i386 because the libraries were newer.
 
  


Reply



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
Don't understand dependency error johngcarlsson Linux - Newbie 2 05-29-2008 06:49 PM
dependency error kde mardanian Linux - Software 2 06-17-2004 10:09 PM
dependency error laclac01 Linux - Software 0 05-18-2004 11:36 AM
DHCP Installation Error: Dependency Error rhonneil Linux - Networking 2 09-15-2003 05:56 AM
RPM dependency Error ministre Linux - Software 2 07-27-2003 03:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:52 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration