is needed by xxx

Trying to install the IBM JDK 64bit I came across the following error: is needed by ibm-java2-x86_64-sdk-5.0-8a.0.x86_64

It turns out that yum has a neat feature to show what package provides a given component:

yum whatprovides

gave the answer, and

yum install compat-libstdc++-33.i386

took care of installingthe missing package.

Public key for xxx.rpm is not installed

After an upgrade to CentOS 5 / RHEL 5 we got the following error:

Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID e8562897
Public key for openldap-2.3.27-8.el5_2.4.x86_64.rpm is not installed

It turns out that the key needs to be loaded and yum has not tried to load the key properly. The following manual key loading solved the issue:

rpm --import

Error: kernel conflicts with e2fsprogs < 1.37-4

During an audit, we noticed that one of our Red Hat 5 / CentOS 5 servers wasn’t getting the security patches.  Upon running the yum update command manually, we discovered that it fails with:

Error: kernel conflicts with e2fsprogs < 1.37-4

The problem turned out to be the presence of a number if 32bit packages. To solve it, we removed the 32bit architecture packages with:

yum remove *.{i386,i586,i686}

(only do that if you are on x86_64 and you verified that the packages you need are present in 64bit version)