Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I, stupidly, uninstalled Python (I was having trouble with it for something else I needed) and didn't realise Yum needed it. So when I tried installing Python with a Yum command of course it didn't work.

I've managed to reinstall Python, and am now trying to get Yum working again but to install the Yum RPM I need some other dependencies installed, however one RPM needed is elfutils-libelf

I'm trying to install elfutils-libelf using the following command:

rpm -Uvh

When I run that command I get the following output:

error: Failed dependencies: elfutils-libelf = 0.97-5 is needed by (installed) elfutils-0.97-5.i386

Seeing as that's the RPM I'm trying to install, it doesn't make an awful lot of sense, to me.

I ran the following command and got the following output:

rpm -qa | grep elfutils-libelf


So it looks installed.... I've tried uninstalling it to reinstall it but there's other dependencies preventing me from doing that.

My knowledge on Linux is very limited, so forgive me.


I ran the following command:

wget rpm -i elfutils-libelf-0.97.1-5.i386.rpm

And got the following output:

file /usr/lib/ from install of elfutils-libelf-0.97.1-5 conflicts with file from package elfutils-libelf-0.97-5

share|improve this question
up vote 0 down vote accepted

Sure it seems weird...

Can you boot in rescue mode from the installtion CD ?

If yes, you could use the yum command from the rescue system to reinstall yum on the system...

Yum should have the "installroot" option available so...

Should I try to remember how to do it ?

share|improve this answer
I'm not sure where my disc is at the moment, so I'll go digging for it. I'll see what I can do when I put the disc in, I'll see what options come up :) Thanks – Richard Hedges Sep 7 '11 at 13:24
Turns out the installation CD was a Mistero - Web Server disc. It has things like BlueQuartz and Webmin on it. I can't boot with this to boot into a rescue mode. – Richard Hedges Sep 7 '11 at 14:11
I copied the rpm's from the disc to my computer, then FTP'd them onto the server, and reinstalled ... Turns out it was still a Python problem. I think I had the wrong version or something. Just some minor yum issues to fix now. Thanks! :D – Richard Hedges Sep 7 '11 at 14:26

You should upgrade elfutils instead:

rpm -Uvh
share|improve this answer
When I run that command I get the same error as before: – Richard Hedges Sep 6 '11 at 14:06
error: Failed dependencies: elfutils-libelf = 0.97.1-5 is needed by elfutils-0.97.1-5.i386 – Richard Hedges Sep 6 '11 at 14:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.