I have installed FC5 and all was working fine. However this morning I did a yum update and it caused a fatal error halfway through the install. Now when i run yum I get the following error -<br><br>rpmdb: PANIC: fatal region error detected; run recovery
<br>error: db4 error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery<br>error: cannot open Packages index using db3 - (-30977)<br>error: cannot open Packages database in /var/lib/rpm<br>Traceback (most recent call last):
<br> File "/usr/bin/yum", line 29, in ?<br> yummain.main(sys.argv[1:])<br> File "/usr/share/yum-cli/yummain.py", line 80, in main<br> base.getOptionsConfig(args)<br> File "/usr/share/yum-cli/cli.py", line 177, in getOptionsConfig
<br> self.doConfigSetup(fn=opts.conffile, root=root)<br> File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 102, in doConfigSetup<br> self.conf = config.readMainConfig(fn, root)<br> File "/usr/lib/python2.4/site-packages/yum/config.py", line 574, in readMainConfig
<br> vars['releasever'] = _getsysver(earlyconf.installroot, earlyconf.distroverpkg)<br> File "/usr/lib/python2.4/site-packages/yum/config.py", line 674, in _getsysver<br> idx = ts.dbMatch('provides', distroverpkg)
<br>TypeError: rpmdb open failed<br><br>I'm not an expert in Linux troubleshooting, any help would be appreciated.<br>