Re: yum recovery issue

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

 



On Tue, 2009-02-24 at 11:22 -0500, Chris Tyler wrote:
> On Tue, 2009-02-24 at 08:17 -0800, Gerhard Magnus wrote:
> > In the process of getting Fedora 10 up and running on a x86_64 machine
> > I've totally messed up yum and am getting this error:
> > 
> > rpmdb: PANIC: fatal region error detected; run recovery
> > 
> > How do I run "recovery"

> # rm /var/lib/rpm/__db.*     # Note double "_" characters
> # rpm --rebuilddb

OK, I did that without incident. But then..

[33] /home/magnusg $ yum install yumex 
Loaded plugins: refresh-packagekit     
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30975) from dbenv->open: DB_RUNRECOVERY: Fatal error,
run database
recovery                                                                   
error: cannot open Packages index using db3 -
(-30975)                         
error: cannot open Packages database
in /var/lib/rpm                            
Traceback (most recent call
last):                                              
  File "/usr/bin/yum", line 29, in
<module>                                     
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 229, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 84, in main
    base.getOptionsConfig(args)
  File "/usr/share/yum-cli/cli.py", line 184, in getOptionsConfig
    enabled_plugins=self.optparser._splitArg(opts.enableplugins))
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 192, in
_getConfig
    self._conf = config.readMainConfig(startupconf)
  File "/usr/lib/python2.5/site-packages/yum/config.py", line 758, in
readMainConfig
    yumvars['releasever'] = _getsysver(startupconf.installroot,
startupconf.distroverpkg)
  File "/usr/lib/python2.5/site-packages/yum/config.py", line 828, in
_getsysver
    idx = ts.dbMatch('provides', distroverpkg)
TypeError: rpmdb open failed

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

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

  Powered by Linux