Installing packages on Redhat 5.5: rpmlib issues

Hi there

I'm having trouble with a remote Red Hat server. We are busy with an Oracle 11g installation on this box and going through the list of required packages, etc.

The installation required elfutils-libelf-devel-0.148. When I try to install that I get the following error;

rpm -i elfutils-libelf-devel-0.148-1.el6.x86_64.rpm 
warning: elfutils-libelf-devel-0.148-1.el6.x86_64.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID f21541eb
error: Failed dependencies:
        elfutils-libelf(x86-64) = 0.148-1.el6 is needed by elfutils-libelf-devel-0.148-1.el6.x86_64
        rpmlib(FileDigests) <= 4.6.0-1 is needed by elfutils-libelf-devel-0.148-1.el6.x86_64
        rpmlib(PayloadIsXz) <= 5.2-1 is needed by elfutils-libelf-devel-0.148-1.el6.x86_64

Then I try to install elfutils-libelf-0.148 and I get the following error;

rpm -U elfutils-libelf-0.148-1.el6.x86_64.rpm 
warning: elfutils-libelf-0.148-1.el6.x86_64.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID f21541eb
error: Failed dependencies:
        rpmlib(FileDigests) <= 4.6.0-1 is needed by elfutils-libelf-0.148-1.el6.x86_64
        rpmlib(PayloadIsXz) <= 5.2-1 is needed by elfutils-libelf-0.148-1.el6.x86_64

What is this rpmlib(FileDigests) and rpmlib(PayloadIsXz)?
I can't find these packages on the net.
Can someone please help me to understand this issue or help me solve it? The installation is quite urgent.

Thanks
D

Install rpm-devel.

It should be easier to use yum though, as it automatically resolves dependency issues.

What is yum and how does it work? I only have the command line to work with.

The package manager for most RHEL-based distributions:

Yellowdog Updater, Modified - Wikipedia, the free encyclopedia

If you have a RHN subscription or your own repository, you can just type 'yum install rpm-devel' and it will download/install all packages for you.

Thanks. I don't have an RHN subscription though.
I've never worked on Red Hat before. I work mostly on Solaris systems. Going to have to install each package and dependency manually by the looks of it :frowning:

So here's the first speed bump...

rpm -i gcc-cpp-4.1.2-7598avx.x86_64.rpm  
warning: gcc-cpp-4.1.2-7598avx.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 67f22696 
        file /usr/bin/cpp from install of gcc-cpp-4.1.2-7598avx.x86_64 conflicts with file from package cpp-4.1.2-48.el5.x86_64

Then I tried this;

rpm -U gcc-cpp-4.1.2-7598avx.x86_64.rpm  
warning: gcc-cpp-4.1.2-7598avx.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 67f22696 
        file /usr/bin/cpp from install of gcc-cpp-4.1.2-7598avx.x86_64 conflicts with file from package cpp-4.1.2-48.el5.x86_64

How now brown cow? :confused:

rpm -Uv --force --nosignature gcc-cpp-4.1.2-7598avx.x86_64.rpm

Hi guys

Thanks for you efforts. I have managed to get the server registered on RHN and things should go better now.