Re: rpm error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 27 Nov 2003 07:21:16 +0530
Vivek Prasannan <vivek@xxxxxxxxxxxxxxx> wrote:

> While trying to install or query packages, I get this error.
> ______________________________________________________________________
> rpm -qa
> rpmdb: fatal region error detected; run recovery
> error: db4 error(-30982) from dbenv->open: DB_RUNRECOVERY: Fatal error, run 
> database recovery
> error: cannot open Packages index using db3 -  (-30982)
> error: cannot open Packages database in /var/lib/rpm
> no packages
> _____________________________________________________________________
> Anyone knows how to fix ??
> 
> --initdb and --rebuilddb didnt work :-/
> 
> -Vivek

if you kill rpm or the system crashes or sometimes if you use yum/apt together
things like this can happen. Try typing the following:

rm -f /var/lib/rpm/__db*
rpm -vv --rebuilddb

Hope that helps




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux