LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   yum missing dependencY (http://www.linuxquestions.org/questions/linux-software-2/yum-missing-dependency-373982/)

puppet 10-17-2005 12:51 PM

yum missing dependencY
 
take a look at this:
Quote:

[ ... ]
--> Processing Dependency: net-snmp = 5.2.1-12 for package: net-snmp-libs
--> Finished Dependency Resolution
Error: Missing Dependency: net-snmp = 5.2.1-12 is needed by package net-snmp-libs
[root@puppet luca]# rpm -q net-snmp
net-snmp-5.2.1-12
what the hell happened? and how can I solve this?

thanks for your help

blkcamarozr28 10-17-2005 07:38 PM

You can try removing the package 'rpm -e net-snmp' and then run 'yum install net-snmp' to see if it will download it again. If not, you can manually download the rpm and load it up. Which distro is this for?

puppet 10-18-2005 09:55 AM

I use fedora core 4 for AMD64. Take a look to the following...
Quote:

[root@puppet luca]# rpm -e net-snmp
error: Failed dependencies:
net-snmp = 5.2.1-12 is needed by (installed) net-snmp-libs-5.2.1-12.i386
net-snmp = 5.2.1-12 is needed by (installed) net-snmp-libs-5.2.1-12.x86_64
[root@puppet luca]# rpm -e net-snmp-libs
error: "net-snmp-libs" specifies multiple packages
[root@puppet luca]# rpm -e --allmatches net-snmp-libs
error: Failed dependencies:
libnetsnmp.so.5()(64bit) is needed by (installed) net-snmp-5.2.1-12.x86_64
libnetsnmp.so.5()(64bit) is needed by (installed) kdeutils-3.4.0-1.x86_64
libnetsnmp.so.5()(64bit) is needed by (installed) kdeutils-3.4.2-0.fc4.1.x86_64
libnetsnmpagent.so.5()(64bit) is needed by (installed) net-snmp-5.2.1-12.x86_64
libnetsnmphelpers.so.5()(64bit) is needed by (installed) net-snmp-5.2.1-12.x86_64
libnetsnmpmibs.so.5()(64bit) is needed by (installed) net-snmp-5.2.1-12.x86_64
libnetsnmptrapd.so.5()(64bit) is needed by (installed) net-snmp-5.2.1-12.x86_64
...uh... had to try another way... so I solved this way:
Quote:

[root@puppet luca]# yum upgrade --exclude net-snmp*

originallurk 10-23-2005 07:58 AM

The above didn't quite make it for me, (every attempt either gave me the dependency error or tried to fooling me yum upgrade was complete - yeah, right...sure) however this did:

rpm -e net-snmp

returned something like 'can't do it mate, since there are dependencies from net-snmp-libs-5.2.1-12.i386 and net-snmp-libs-5.2.1-12 .x86_64'

As the ruthless man I am - my answer was obvious:
rpm -e net-snmp-libs-5.2.1-12.i386
rpm -e net-snmp-libs-5.2.1-12.x86_64
rpm -e net-snmp

Followed by a swift:
yum clean all
yum upgrade

Now
rpm -q net-snmp tells me that net-snmp is not installed

I tried
yum install net-snmp

and it installed a brand new version of net-snmp (5.2.1.2-fc4.1).

I'm a happy camper! :D



...just lurking

Jester_UVa09 10-23-2005 06:51 PM

THANK YOU
 
I am a fedora noob, and I had a similar problem. That was just what I needed. Thank you so much!!! You can never find anything that actually helps you with a problem....it's always different. But this time, I actually found the right answer. That made my day!

tomj54 10-24-2005 05:28 AM

I get similar messages when I run yum update:
Error: Missing Dependency: dbus-glib = 0.22 is needed by package hal
Error: Missing Dependency: libdbus-1.so.0 is needed by package hal
Error: Missing Dependency: dbus = 0.22 is needed by package hal

yum remove hal
reports 135 packages to be erased. I'm a bit nervous about letting it proceed.

What next?

dkippers 10-26-2005 10:20 AM

I'm having a similar problem but the dependencies I'm trying to fix have too many dependencies themselves.
this is what they are.
--> Finished Dependency Resolution
Error: Missing Dependency: gnome-python2 = 2.6.0-3 is needed by package gnome-python2-canvas
Error: Missing Dependency: qt-devel = 1:3.3.3-8 is needed by package qt-designer
Error: Missing Dependency: kdegraphics = 7:3.3.0-3 is needed by package kdegraphics-devel

ps. I'm currrently trying to upgrade from FC3 to FC4


All times are GMT -5. The time now is 01:46 PM.