LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,683

Rep: Reputation: 48
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: Centos 6.9, Centos 7.3
Posts: 17,356

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
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
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,683

Original Poster
Rep: Reputation: 48
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: Centos 6.9, Centos 7.3
Posts: 17,356

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
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


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
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


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