Occasionally, a RHEL 5 system that uses RadminD (and other semi-automated install software) can have its RHN registration become corrupted. This is largely because RadminD (et al) can write over the RPM database and/or the gpg public key. When this happens, the RPM database needs to be rebuilt, and a new public key installed. You may also need to have William Cattey or Dan Logcher remove redundant entries from the RHN Sat database. The following should work. If not, contact them for further help.

  1. First, stop updating and rebuild the RPM database.
    /etc/init.d/yum-updatesd stop
    cd /var/lib/rpm
    rm __db*
    rpm --rebuilddb
    
  2. Then, remove the old public key, and install a new one.
    rpm -e --allmatches gpg-pubkey
    yum update yum-updatesd
    
  3. Now, attempt a yum update or install to test if this has worked.
  • No labels