Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Red Hat
google site



Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-04-2009
Registered User
 

Join Date: Apr 2008
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Angry Weird dependency problem!

Hi,

I want to install net-snmp-devel package but i have following dependecy problem.
It's very odd, i don't get it. One of packages is depended on the other one, the other one is depended on the previous one as well. :S :S

Could you help me please?

Here are the steps:

[root@tkist2 Desktop]# ls -l
total 2664
-rw-r--r-- 1 root root 220771 Nov 4 2008 elfutils-0.137-3.el5.x86_64.rpm
-rw-r--r-- 1 root root 63601 Nov 4 2008 elfutils-devel-0.137-3.el5.x86_64.rpm
-rw-r--r-- 1 root root 122120 Nov 4 2008 elfutils-devel-static-0.137-3.el5.x86_64.rpm
-rw-r--r-- 1 root root 25098 Nov 4 2008 elfutils-libelf-devel-0.137-3.el5.x86_64.rpm
-rw-r--r-- 1 root root 65436 Nov 4 2008 elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm
-rw-r--r-- 1 root root 187356 Nov 4 2008 elfutils-libs-0.137-3.el5.x86_64.rpm
-rw-r--r-- 1 root root 2008026 Nov 19 2008 net-snmp-devel-5.3.2.2-5.el5.x86_64.rpm

[root@tkist2 Desktop]# rpm -ivh net-snmp-devel-5.3.2.2-5.el5.x86_64.rpm
warning: net-snmp-devel-5.3.2.2-5.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
beecrypt-devel is needed by net-snmp-devel-5.3.2.2-5.el5.x86_64
elfutils-devel is needed by net-snmp-devel-5.3.2.2-5.el5.x86_64
elfutils-libelf-devel is needed by net-snmp-devel-5.3.2.2-5.el5.x86_64
rpm-devel is needed by net-snmp-devel-5.3.2.2-5.el5.x86_64

P.S The red ones are installed.

[root@tkist2 Desktop]# rpm -ivh elfutils-devel-0.137-3.el5.x86_64.rpm
warning: elfutils-devel-0.137-3.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
elfutils-devel-static-x86_64 = 0.137-3.el5 is needed by elfutils-devel-0.137-3.el5.x86_64
elfutils-libelf-devel-x86_64 = 0.137-3.el5 is needed by elfutils-devel-0.137-3.el5.x86_64


[root@tkist2 Desktop]# rpm -ivh net-snmp-devel-5.3.2.2-5.el5.x86_64.rpm
warning: net-snmp-devel-5.3.2.2-5.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
beecrypt-devel is needed by net-snmp-devel-5.3.2.2-5.el5.x86_64
elfutils-devel is needed by net-snmp-devel-5.3.2.2-5.el5.x86_64
elfutils-libelf-devel is needed by net-snmp-devel-5.3.2.2-5.el5.x86_64
rpm-devel is needed by net-snmp-devel-5.3.2.2-5.el5.x86_64
[root@tkist2 Desktop]#
[root@tkist2 Desktop]#
[root@tkist2 Desktop]#
[root@tkist2 Desktop]# rpm -ivh elfutils-devel-0.137-3.el5.x86_64.rpm
warning: elfutils-devel-0.137-3.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
elfutils-devel-static-x86_64 = 0.137-3.el5 is needed by elfutils-devel-0.137-3.el5.x86_64
elfutils-libelf-devel-x86_64 = 0.137-3.el5 is needed by elfutils-devel-0.137-3.el5.x86_64
[root@tkist2 Desktop]#
[root@tkist2 Desktop]#
[root@tkist2 Desktop]#
[root@tkist2 Desktop]# rpm -ivh elfutils-libelf-devel-0.137-3.el5.x86_64.rpm
warning: elfutils-libelf-devel-0.137-3.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
elfutils-libelf-devel-static-x86_64 = 0.137-3.el5 is needed by elfutils-libelf-devel-0.137-3.el5.x86_64
[root@tkist2 Desktop]#
[root@tkist2 Desktop]#
[root@tkist2 Desktop]#
[root@tkist2 Desktop]# rpm -ivh elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm
warning: elfutils-libelf-devel-static-0.137-3.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
elfutils-libelf-devel-x86_64 = 0.137-3.el5 is needed by elfutils-libelf-devel-static-0.137-3.el5.x86_64
[root@tkist2 Desktop]#
[root@tkist2 Desktop]#
[root@tkist2 Desktop]#
[root@tkist2 Desktop]# rpm -ivh elfutils-libelf-devel-0.137-3.el5.x86_64.rpm
warning: elfutils-libelf-devel-0.137-3.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
elfutils-libelf-devel-static-x86_64 = 0.137-3.el5 is needed by elfutils-libelf-devel-0.137-3.el5.x86_64
Sponsored Links
  #2  
Old 12-04-2009
pludi's Avatar
pludi pludi is offline Forum Staff  
Moderator
 

Join Date: Dec 2008
Location: Sqrt[-e^(-2 i Pi)]
Posts: 3,789
Thanks: 1
Thanked 63 Times in 60 Posts
The obvious question first: why don't you install it using the distributions package manager? I think it's yum for Red Hat. Those usually have automatic dependency tracking, and can track official software repositories to download software from.
  #3  
Old 12-04-2009
Registered User
 

Join Date: Nov 2009
Location: The Netherlands
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Ineed. Redhat / Fedora has its repositories and no need to install all .rpm's manually.
Use yum for it.

Code:
yum install net-snmp-devel

  #4  
Old 12-04-2009
Registered User
 

Join Date: Dec 2009
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
If I recall right you can do a


Code:
rpm -ivh <rpm> <rpm> <rpm> .....

In other words put all the interdependent rpm's on one line.

Good luck
  #5  
Old 12-28-2009
Registered User
 

Join Date: Dec 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
yum would be the best option, as it will verify dependencies and install the required ones.

If you feel the need to install them one at a time using rpm, perform a force install on the first one ( using the --nodeps option) and the rest should install without complaint after that. I've used this method successfully myself, but would only recommend it as a last resort since yum will do a much better job.

Hope this helps!
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Simple Makefile Problem (with a dependency) monkfan Programming 1 02-06-2009 06:13 AM
Dependency problem pran Solaris 8 12-18-2008 06:12 AM
Really weird delete problem nitin UNIX for Advanced & Expert Users 11 12-01-2008 01:04 PM
Weird crontab problem RobSand Solaris 8 10-09-2007 05:12 PM
Weird Problem??? danhodges99 UNIX for Dummies Questions & Answers 2 04-11-2003 11:05 AM



All times are GMT -4. The time now is 07:47 AM.