On Tue, 18 Jan 2005, 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
that sounds like you don't have permission to read the rpm db. Are you sure that you are running as root or that you didn't change the permissions on /var/lib/rpm?
-ryan