RPM Database Errors

Andre Costa acosta at ar.microlink.com.br
Thu Jan 8 14:54:24 UTC 2004


On Wed, 07 Jan 2004 22:51:49 -0500
Prakash Rao <pxwiz at optonline.net> wrote:

> 
> #rm -f /var/lib/rpm/__db*
> #db_verify /var/lib/rpm/Packages
> #rpm --rebuilddb
> 
> This should fix your RPM database.
> 
> HTH,
> Prakash
> 
> ----- Original Message ----- 
> From: "Jonathon Carter" <jonathonc at earthlink.net>
> To: <fedora-list at redhat.com>
> Sent: Wednesday, January 07, 2004 6:00 PM
> Subject: RPM Database Errors
> 
> 
> > Hi
> >
> > I recently attempted to update the PHP, MySQL and HTTPD Fedora
> > packages
> via Apt-Get and then received a huge number of RPMDB errors like the
> ones listed below:- - Any ideas how to fix this?  TIA
> >
> > error: error(-30982) getting "driver" records from Basenames index
> > rpmdb: fatal region error detected; run recovery
> > error: db4 error(-30982) from db->get: DB_RUNRECOVERY: Fatal error,
> > run
> database
> >  recovery
[snip]

I suggest you look for "The solution to RPM hangs" here:

http://fedoranews.org/colin/fnu/week1.shtml

HTH,

Andre

-- 
Andre Oliveira da Costa





More information about the fedora-list mailing list