Try this instruction page. http://hermes.afaa.asso.fr/users/pascal/linux/rpm-rebuilddb
and if it doesn't come up (it should) I mirror it here. http://myopencountry.com/cgi-bin/view/howto/RPMDatabase James On Thu, 2002-11-14 at 07:40, Will Merkens wrote: > Subject: > [expert] How to recover RPM database? > From: > David Guntner <[EMAIL PROTECTED]> > Date: > Tue, 12 Nov 2002 10:38:04 -0800 > To: > [EMAIL PROTECTED] > > I'm getting an error when I try to run rpm on anything. The message I get is: > > rpmdb: region error detected; run recovery. > error: db4 error(-30981) from dbenv->open: DB_RUNRECOVERY: Fatal error, run > database recovery > error: cannot open Packages index using db3 - (-30981) > > > There doesn't seem to be a recover option for rpm. "rpm --rebuilddb" gets > that same error message. Anyone know what needs to be done to repair the RPM > database? > > in /var/lib/rpm there are a couple of files __db.001 __db.002, erase them then try >again to rebuild -- James Sparenberg <[EMAIL PROTECTED]>
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
