-   Linux - Newbie (
-   -   Yum Update Problems (

djljjm 02-11-2005 11:51 AM

Yum Update Problems
Last night I reinstalled Fedora Core 3 because I wanted to get a few things done with 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/", line 51, in main
File "/usr/share/yum-cli/", line 133, in getOptionsConfig
self.conf = yumconf(configfile = yumconffile, root=root)
File "/usr/lib/python2.3/site-packages/yum/", line 196, in __init__
self.yumvar['releasever'] = self._getsysver()
File "/usr/lib/python2.3/site-packages/yum/", 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 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....


dcdbutler 02-11-2005 12:54 PM

you might want to check out the yum extender
gui for yum

can't help you with your errors, I'm pretty new to yum myself.
mine is working fine though, even with the gpgchecks activated.

i pretty much used the yum.conf file recommended through fedora support.There's lots of examples of yum.conf on the net you can just cut and paste from if you like. I think I got mplayer from the dag repository. I can email you my yum.conf later if you like and send you a couple of links for searching repositories for software.

ducod 03-15-2005 03:35 PM

I also get a TypeError when using yum extender to intall any packages.
PyXML-0.8.3-6.i386.rpm 100% |=========================| 91 kB 00:00
---> Package PyXML.i386 0:0.8.3-6 set to be updated
--> Running transaction check
Traceback (most recent call last):
File "", line 74, in on_button
File "", line 405, in install_packages
File "", line 313, in get_confimation
File "", line 327, in get_package_list
TypeError: unpack non-sequence

All times are GMT -5. The time now is 05:45 PM.