PDA

View Full Version : Yum stopped working


michael1968
6th March 2004, 07:34 AM
Hallo,

i recently updated my fc2test1 installation using yum. The yum package itself also got updated to yum-2.0.5.20040229-1.

Now, whenever i run a "yum check-update" or "yum update" i get the following error:

Gathering header information file(s) from server(s)
Server: Fedora Core 1.90 - i386 - Base
Server: fedora stable
Server: Fedora Core 1.90 - i386 - Released Updates
Finding updated packages
Downloading needed headers
Traceback (most recent call last):
File "/usr/bin/yum", line 30, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum/yummain.py", line 253, in main
clientStuff.download_headers(HeaderInfo, nulist)
File "/usr/share/yum/clientStuff.py", line 919, in download_headers
cachedbdict = returnCacheDBHeaders(nulist)
File "/usr/share/yum/clientStuff.py", line 901, in returnCacheDBHeaders
mi = cachedb.dbMatch()
UnboundLocalError: local variable 'cachedb' referenced before assignment


Any solution to this ?

Thanks in advance
Michael

Elison
6th March 2004, 09:26 AM
Hi,
I have the same prob here, and in this tread some others too.

http://www.linuxquestions.org/questions/showthread.php?threadid=153695&goto=newpost

seesm to be down atm.
donīt have a solution for now :(

mhelios
6th March 2004, 12:01 PM

There's a bugzilla report filed for this; cachdb is broken in that version og yum.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=117290

Workaround and real fix available.