Fedora 8 yum error

David Kramer david-8uUts6sDVDvs2Lz0fTdYFQ at public.gmane.org
Wed Nov 19 07:20:44 EST 2008


[root at janus pluginconf.d]# yum info poster
Loaded plugins: fedorakmod, kernel-module, kmdl, priorities
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 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 191, in 
_getConfig
     self._conf = config.readMainConfig(startupconf)
   File "/usr/lib/python2.5/site-packages/yum/config.py", line 753, in 
readMainConfig
     yumvars['releasever'] = _getsysver(startupconf.installroot, 
startupconf.distroverpkg)
   File "/usr/lib/python2.5/site-packages/yum/config.py", line 823, in 
_getsysver
     idx = ts.dbMatch('provides', distroverpkg)
TypeError: rpmdb open failed


So what do I do about this?

Thanks.





More information about the Discuss mailing list