LinuxQuestions.org
Review your favorite Linux distribution.
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 02-15-2013, 01:31 AM   #1
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Rep: Reputation: 49
yum missing dependancy error, how to resolve?


When I run a yum update on an older server of ours, I get the following error:

Error: Missing Dependency: xen-libs = 3.0.3-64.el5_2.1 is needed by package xen-3.0.3-64.el5_2.1.i386 (installed)

Is there a way to force it to install what it says its missing so it'll work?
 
Old 02-15-2013, 01:43 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
That's unusual certainly; I'd expect it to pull it down if it needs it.
you could try
Code:
yum install xen*
If that fails check the msg, but basically use something like
Code:
yum provides '*xen-libs*'

# and/or
yum info '*xen-libs*'

I just did a quick google and found some solns.
Some people just did 'rpm --rebuilddb', some managed with 'yum clean all', but this is the most interesting/subtle one http://tech.kulish.com/2009/01/02/xe...issue-w-rhel5/

HTH
 
1 members found this post helpful.
Old 02-15-2013, 01:50 AM   #3
anon091
Senior Member
 
Registered: Jun 2009
Posts: 1,795

Original Poster
Rep: Reputation: 49
Hi Chris. I tried the rpm --rebuilddb and the yum clean all, still get the same error. I will check into what you found in that other link though, maybe it is just that simple!

As a side question, is a rpm --rebuilddb and the yum clean all commands something you should do from time to time on servers in general, or only if there are problems?
 
Old 02-15-2013, 06:07 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
I'd say only if you get a problem; theoretically you shouldn't need to but if eg you get a system failure during an rpm or yum operation ...
 
  


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
fedora, every yum install comand gives dependancy error. rohanvr_21 Linux - Software 3 09-30-2010 10:52 AM
how to resolve dependancy programatically vdx Programming 4 09-27-2007 12:42 AM
yum dependancy issue ghostmac Linux - Software 1 08-12-2006 07:17 AM
FC4: "yum update libcddb" fails -- missing dependancy problem: MattCrypto Fedora 2 07-28-2005 06:47 PM

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

All times are GMT -5. The time now is 02:19 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