LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-05-2010, 09:37 AM   #1
Keds
LQ Newbie
 
Registered: Aug 2009
Location: UK
Distribution: Centos
Posts: 9

Rep: Reputation: 0
Yum broken - need some help


I logged on to one of my servers and ran a yum update, while the update was in progress my SSH connection got disconnected.

I logged in through a new connection when connectivity was restored and looked at running processes. It looked like yum was hung so I killed it (big mistake and one I won't repeat).

Now, when I try and run yum, I get the following:

Quote:
yum update
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

/usr/lib/libelf.so.1: version `ELFUTILS_1.1.1' not found (required by /usr/lib/librpmbuild-4.4.so)

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.4.3 (#1, Sep 3 2009, 15:37:12)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]

If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq
I have tried hunting around for the correct version of libelf without much luck.

Is there anything I can do to get yum working again?

Any help would be gratefully received!

Regards,

Ked

Edit: The server is running Centos 5.2

Last edited by Keds; 11-05-2010 at 09:39 AM.
 
Old 11-05-2010, 10:53 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Code:
/usr/lib/libelf.so.1: version `ELFUTILS_1.1.1' not found (required by /usr/lib/librpmbuild-4.4.so)
-> http://www.google.com/search?num=30&...=&oq=&gs_rfai=

->
Code:
$ rpm -qf /usr/lib/libelf.so.1
elfutils-libelf-0.137-3.el5
-> Download the latest elfutils-libelf RPM fron CentOS and install it with "rpm -Uvh elfutils-libelf*.rpm"
 
1 members found this post helpful.
Old 11-06-2010, 06:16 AM   #3
Keds
LQ Newbie
 
Registered: Aug 2009
Location: UK
Distribution: Centos
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks for the pointer, I downloaded the latest libelf RPM from a Centos mirror and installed it - problem solved and lesson learned
 
  


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 13 Yum-3.2.28 Broken? crokett Linux - General 8 11-02-2010 04:07 PM
Broken Yum while updating centos from 4.6 to 5.2 hoodedmanwithsythe Linux - Software 2 09-20-2008 02:59 AM
yum broken for YDL5 on PS3? tomva Linux - Software 0 12-30-2006 01:21 AM
broken yum - "No module named yum" shihab-alain Linux - Software 2 05-10-2006 05:09 AM
FC4 yum broken after upgrade Kabuso Fedora 4 06-26-2005 04:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:12 AM.

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