[CentOS] dumb developer explodes yum

Tim Dunphy

bluethundr at gmail.com
Sun Jun 15 00:14:43 UTC 2014


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.

http://deadlockprocess.wordpress.com/2010/07/18/how-to-reinstall-rpm-and-yum-without-rpm-and-yum-in-centosrhel/

However installing this rpm :

rpm-libs-4.4.2-37.el5.i386.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 4.4.2.3

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

beecrypt-4.1.2-10.1.1.i386.rpm

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-libelf-0.125-3.el5.i386
        elfutils-libs > 0.125-3.el5 conflicts with
elfutils-libelf-0.125-3.el5.i386

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

[root at uszmpaplp005lc i386]# rpm -qa | grep elf
elfutils-libelf-0.137-3.el5
elfutils-0.137-3.el5
elfutils-libs-0.137-3.el5

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

Thanks
Tim

-- 
GPG me!!

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



More information about the CentOS mailing list