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 -- Regards JC
rpm --rebuilddb Peter Farrow Technical Director Sound Marketing Tel: 01225 743623 Fax: 01225 743332 Email:peter at soundnetworks.net This message is intended only for the use of the person(s) ("the intended recipient(s)") to whom it is addressed. It may contain information which is privileged and confidential within the meaning of applicable law. If you are not the intended recipient, please contact the sender as soon as possible. The views expressed in this communication may not necessarily be the views held by Sound Marketing Ltd. -----Original Message----- From: centos-bounces at caosity.org [mailto:centos-bounces at caosity.org] On Behalf Of JCT Sent: 18 January 2005 11:11 To: centos at caosity.org Subject: [Centos] rpm db 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 -- Regards JC _______________________________________________ CentOS mailing list CentOS at caosity.org http://lists.caosity.org/mailman/listinfo/centos
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/rpmHave you upgraded the rpm package since your last reboot? ... sometimes after an rpm upgrade, I have to restart my machine.
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/rpmthat 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
i believe a server re-install is required....ive done that before, what you did and i had to re-install....yet there might be a way to salvage it but im not exactly sure the proper way