Weird dependency problem!

 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications Infrastructure Monitoring Weird dependency problem!
# 1  
Old 12-04-2009
Network 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
# 2  
Old 12-04-2009
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
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-05-2009
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
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!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Weird awk problem

Hi, I have a simple awk script: BEGIN{} { $a=$2-$1; print $a } END{if(NR==0){ print "0" } } to which I provide the following input 2.9 14 22.2 27 (4 Replies)
Discussion started by: jamie_123
4 Replies

2. UNIX for Dummies Questions & Answers

Weird problem with join command

I have a weird issue going on with the join command... I have two files I am trying to join...here is a line from each file with the important parts marked in red: file1: /groupspace/ccops/cmis/bauwkrcn/commsamp_20140315.txt,1 file2:... (3 Replies)
Discussion started by: dbiggied
3 Replies

3. Shell Programming and Scripting

awk weird problem.

awk 'BEGIN{print 1.2.3.4}' 1.20.30.4 Can anyone explain why has extra "0" in the IP address? (3 Replies)
Discussion started by: newoz
3 Replies

4. UNIX for Dummies Questions & Answers

Weird problem with cp command on a Synology

Hi. First post, and Linux newbie, so maybe I'm missing something obvious: I have a Synology NAS that is run by a Linux distribution (which?). I have had an external hard drive connected to the NAS for making backups using Synology's backup application Time Backup. Time Backup is based on... (3 Replies)
Discussion started by: Pokersut
3 Replies

5. Programming

Simple Makefile Problem (with a dependency)

Hi all, I have 4 '.cpp' files and 1 header files: Tools.cpp Code1.cpp Code2.cpp Code3.cpp and Tools.hh Now all Code1.cpp, Code2.cpp, Code3.cpp use functions stored in Tools.cpp. Currently, what I do to compile all of them is using this simple shell script: (1 Reply)
Discussion started by: monkfan
1 Replies

6. Solaris

Dependency problem

Hi all am new to solaris ............ i installed amanda client pkg that time am getting lots of dependency problem.......... is there any Yum server like things in solaris Regards ' prAn (8 Replies)
Discussion started by: pran
8 Replies

7. UNIX for Advanced & Expert Users

Really weird delete problem

Hi, I've Ubuntu 8.04, and it has some files that I just cannot delete. I've tried everything, inode, fsck etc. Here is what the ls -li outputs root@ubuntu:/home/luser/.local/share/Trash/files/junk# ls -l ls: cannot access TRUNK_: No such file or directory ls: cannot access 2006_output.mv:... (11 Replies)
Discussion started by: nitin
11 Replies

8. Solaris

Weird crontab problem

Greetings To All! I am running Solaris 10 in a sparc environment. Here is the deal: In /var/spool/cron/crontabs, there is a cron user named "sys". If I do a crontab -l sys, it returns: # 0 * * * 0-6 /usr/lib/sa/sa1 # 20,40 8-17 * * 1-5 /usr/lib/sa/sa1 # 5 18 * * 1-5 /usr/lib/sa/sa2... (8 Replies)
Discussion started by: RobSand
8 Replies

9. UNIX for Advanced & Expert Users

weird problem with removing files

I have a few files on my system named: -rw------- -rw-r----- -rw-rw--w- -rwxrw-r-x (Yes, it's really the name of the file, not the access permissions, they're 0 bytes large and all created at the same date/time). I've no idea how they got there but I don't seem to be able to delete them... (2 Replies)
Discussion started by: rein
2 Replies

10. UNIX for Dummies Questions & Answers

Weird Problem???

I have a problem I don't understand... I am trying to declare a variable, and then output the results of that variable, couldn't be simpler #!/bin/ksh VAR='Oranges' if then echo "Found Lemons" elif then echo "Found Oranges" fi The output shouold clearly be "Found Oranges", but... (2 Replies)
Discussion started by: danhodges99
2 Replies
Login or Register to Ask a Question