Re: RPM Database broken

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

 



On Thursday 20 October 2005 02:15, Francois Massonneau wrote:
snip
> > > rpmdb: PANIC: fatal region error detected; run recovery
> > > error: db4 error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error,
> > > run database recovery
> > > error: cannot open Packages index using db3 -  (-30977)
> > > error: cannot open Packages database in /var/lib/rpm
> > > Traceback (most recent call last):
> > >   File "/usr/bin/yum", line 27, in ?
> > >     yummain.main(sys.argv[1:])
> > >   File "/usr/share/yum-cli/yummain.py", line 75, in main
> > >     base.getOptionsConfig(args)
> > >   File "/usr/share/yum-cli/cli.py", line 170, in getOptionsConfig
> > >     self.doConfigSetup(fn=opts.conffile, root=root)
> > >   File "__init__.py", line 82, in doConfigSetup
> > >   File "config.py", line 271, in __init__
> > >   File "config.py", line 383, in _getsysver
> > > TypeError: rpmdb open failed
> > >
> Francois
>
> --
It looks to me as if yum (or python) is having some issues itself.
You could try reinstalling yum with rpm. The command would look something like 
this (one line);
rpm -Uvh  
ftp://ftp.pbone.net/mirror/atrpms.net/fc4-i386/atrpms/stable/yum-2.4.0-63.rhfc4.at.i386.rpm




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

  Powered by Linux