[Centos] rpm db

Tue Jan 18 11:52:43 UTC 2005
Johnny Hughes <mailing-lists at hughesjr.com>

On Tue, 2005-01-18 at 11:10 +0000, JCT wrote:
> Hi All,
> 
> I wonder if someone can help. My rpm db was corrupted.
> 
> So I ran  rm -f __db* followed  rpm rebuild db which ran OK. But I keep 
> getting the following error.
> 
> error: cannot open Packages database in /var/lib/rpm
> warning: kernel-source-2.4.21-20.0.1.EL.i386.rpm: V3 DSA signature: NOKEY, key 
> ID 025e513b
> error: cannot open Packages database in /var/lib/rpm

Have you upgraded the rpm package since your last reboot? ... sometimes
after an rpm upgrade, I have to restart my machine.