[CentOS] dumb developer explodes yum

Sun Jun 15 00:14:43 UTC 2014
Tim Dunphy <bluethundr at gmail.com>

hey guys,

 One of our developers DESTROYED both yum and rpm on one of the development
machines with an rm command. And guess who's lucky enough to get to fix
this mess? *raises hand*

So I hope y'all don't mind me turning to you once again for some advice.
You've been wonderful in the past. Pavlov's dogs as they say.

At any rate, I've managed to fix rpm (yay) by copying it over from another
machine of similar architecture and os. I'm not sure if the fix is perfect,
but I can indeed install rpm's again with that command.

Yum however is proving to be more of a challenge. And I am in the midst of
some dependencies currently.

I found this guide on the net which seemed reasonable and that I could
adapt to my needs.


However installing this rpm :


Asks for a bunch of libraries.

This is what I see when I try:

[root at uszmpaplp005lc i386]# rpm -Uvh rpm-libs-4.4.2-37.el5.i386.rpm
warning: rpm-libs-4.4.2-37.el5.i386.rpm: Header V3 DSA signature: NOKEY,
key ID e8562897
error: Failed dependencies:
        libelf.so.1 is needed by rpm-libs-4.4.2-37.el5.i386
        libelf.so.1(ELFUTILS_1.0) is needed by rpm-libs-4.4.2-37.el5.i386
        libelf.so.1(ELFUTILS_1.1.1) is needed by rpm-libs-4.4.2-37.el5.i386
        libsqlite3.so.0 is needed by rpm-libs-4.4.2-37.el5.i386
        rpm = 4.4.2-37.el5 is needed by rpm-libs-4.4.2-37.el5.i386

And this is my rpm verison:

[root at uszmpaplp005lc i386]# rpm --version
RPM version

I took care of some of them by installing (before showing you the above
command output)  by installing :


But now I am trying with elfutils-libelf-0.125-3.el5.i386.rpm and I am
getting this confusing message:

[root at uszmpaplp005lc i386]# rpm -Uvh elfutils-libelf-0.125-3.el5.i386.rpm
warning: elfutils-libelf-0.125-3.el5.i386.rpm: Header V3 DSA signature:
NOKEY, key ID e8562897
error: Failed dependencies:
        elfutils > 0.125-3.el5 conflicts with
        elfutils-libs > 0.125-3.el5 conflicts with

And when I check what elf libraries I currently have this is what I find;

[root at uszmpaplp005lc i386]# rpm -qa | grep elf

Just wondering what I can do to unstick myself at this point.


GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B