Pages

Monday, March 7, 2011

centos upgrade issue

When trying to upgrade from CentOS 4.4 to 4.8 I had this error:

159 Header V3 DSA signature: BAD, key ID

I seems the rpm database was broken. To fix it, do:

mv /var/lib/rpm/Pubkeys /var/lib/rpm/Pubkeys.old
mv /usr/lib/rpmdb/i386-redhat-linux/CentOS/Pubkeys /usr/lib/rpmdb/i386-redhat-linux/CentOS/Pubkeys.old

rpm --rebuilddb -vv

This did it an I was able to make my upgrade.

No comments:

Post a Comment