[Centos] rpm db

Ryan Sweet rsweet at aoes.com
Tue Jan 18 12:14:51 UTC 2005


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

-- 
Ryan Sweet             <ryan.sweet at aoes.com> 
Advanced Operations and Engineering Services
AOES Group BV            http://www.aoes.com
Phone +31(0)71 5795521  Fax +31(0)71572 1277




More information about the CentOS mailing list