LinuxQuestions.org
Register a domain and help support LQ
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, 09: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, 10: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, 10: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, 11: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, 12:05 PM   #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, 12:11 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
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, 01: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, 03:50 PM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
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, 03:50 PM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
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, 07:21 PM   #10
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
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, 12:43 PM   #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


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


All times are GMT -5. The time now is 01: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration