During an install I was attempting to update nss rpms to newer versions. Prior to the yum update command the rpm -qa command which was working properly. During the update the following occurred and all yum and rpm commands after this have failed. I noticed that the __db.00[1-4] in /var/lib/rpm we gone so I did a rpm --rebuilddb and then a yum clean all. After doing this, the only rpm found when executing an rpm -qa command is gpg-pubkey-ec551f03-53619141.
Has anyone run in to something like this before? And if so were you able to fix it without reloading. I did see an article that talked about reinstalling certain rpms that might be corrupt but since both yum install and rpm install commands fail it seems something else has to be done first.
[root@P13 ~]# yum --noplugins --disablerepo="*" --enablerepo=OEL67* update
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package libuser.x86_64 0:0.56.13-5.el6 will be updated
---> Package libuser.x86_64 0:0.56.13-8.el6_7 will be an update
---> Package nss.x86_64 0:3.18.0-5.3.0.1.el6_6 will be updated
---> Package nss.x86_64 0:3.19.1-3.0.1.el6_6 will be an update
---> Package nss-softokn.x86_64 0:3.14.3-22.el6_6 will be updated
---> Package nss-softokn.x86_64 0:3.14.3-23.el6_7 will be an update
---> Package nss-softokn-freebl.x86_64 0:3.14.3-22.el6_6 will be updated
---> Package nss-softokn-freebl.x86_64 0:3.14.3-23.el6_7 will be an update
---> Package nss-sysinit.x86_64 0:3.18.0-5.3.0.1.el6_6 will be updated
---> Package nss-sysinit.x86_64 0:3.19.1-3.0.1.el6_6 will be an update
---> Package nss-tools.x86_64 0:3.18.0-5.3.0.1.el6_6 will be updated
---> Package nss-tools.x86_64 0:3.19.1-3.0.1.el6_6 will be an update
---> Package nss-util.x86_64 0:3.18.0-1.el6_6 will be updated
---> Package nss-util.x86_64 0:3.19.1-1.el6_6 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================================================================================
Package Arch Version Repository Size
======================================================================================================================================================================
Updating:
libuser x86_64 0.56.13-8.el6_7 OEL67-update 367 k
nss x86_64 3.19.1-3.0.1.el6_6 OEL67-update 856 k
nss-softokn x86_64 3.14.3-23.el6_7 OEL67-update 261 k
nss-softokn-freebl x86_64 3.14.3-23.el6_7 OEL67-update 167 k
nss-sysinit x86_64 3.19.1-3.0.1.el6_6 OEL67-update 45 k
nss-tools x86_64 3.19.1-3.0.1.el6_6 OEL67-update 433 k
nss-util x86_64 3.19.1-1.el6_6 OEL67-update 66 k
Transaction Summary
======================================================================================================================================================================
Upgrade 7 Package(s)
Total download size: 2.1 M
Is this ok [y/N]: y
Downloading Packages:
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 56 MB/s | 2.1 MB 00:00
error: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID ec551f03: BAD
Problem opening package nss-softokn-3.14.3-23.el6_7.x86_64.rpm
[root@P13 ~]#