PDA

View Full Version : Errors from yum: error: db4 error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal



siegfried
11th March 2007, 07:01 AM
Please see http://forums.fedoraforum.org/showthread.php?p=759189#post759189.

Can someone help me install kdevelop? As per the above link, I tried yum clean all (see below) only to get more errors.

Thanks,
Siegfried

[root@localhost Desktop]# yum clean all
Loading "installonlyn" plugin
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 ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 85, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 199, in getOptionsConfig
errorlevel=opts.errorlevel)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 125, in doConfigSetup
self.conf = config.readMainConfig(startupconf)
File "/usr/lib/python2.4/site-packages/yum/config.py", line 597, in readMainConfig
vars['releasever'] = _getsysver(startupconf.installroot, startupconf.distroverpkg)
File "/usr/lib/python2.4/site-packages/yum/config.py", line 656, in _getsysver
idx = ts.dbMatch('provides', distroverpkg)
TypeError: rpmdb open failed
[root@localhost Desktop]#

lazlow
11th March 2007, 07:06 AM
Try this: http://forums.fedoraforum.org/forum/showthread.php?t=82597&highlight=rpmdb