Last night I reinstalled Fedora Core 3 because I wanted to get a few things done with it...now I'm having problems with yum update. I had 237 updates right off the bat so I just ran yum update and let it go....this morning I woke up and there were 63 left and all the text was in symbols....this is the current message I am getting
[root@me0912 jrub]# yum update
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-30978) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 - (-30978)
error: cannot open Packages database in /var/lib/rpm
Traceback (most recent call last):
File "/usr/bin/yum", line 8, in ?
File "/usr/share/yum-cli/yummain.py", line 51, in main
File "/usr/share/yum-cli/cli.py", line 133, in getOptionsConfig
self.conf = yumconf(configfile = yumconffile, root=root)
File "/usr/lib/python2.3/site-packages/yum/config.py", line 196, in __init__
self.yumvar['releasever'] = self._getsysver()
File "/usr/lib/python2.3/site-packages/yum/config.py", line 263, in _getsysver idx = ts.dbMatch('provides', self.getConfigOption('distroverpkg'))
TypeError: rpmdb open failed
Right when I set up yum I did the following
rpm --import /usr/share/rhn/RPM-GPG-KEY-fedora
Because it said that I needed a public key and http://install.lon-capa.org/FC3_install.html
said to use that one.
I also need to know how to get the yum.conf working right so I can download and install other programs such as mplayer and kaffeine....