[Yum] Error with cachedb

Villalovos, John L john.l.villalovos at intel.com
Tue Mar 2 18:45:41 UTC 2004


Has anyone else seen this.

I am using Fedora Core 2 Test 1 and just updated to the latest yum
version from the development tree.

[root at linuxjohn2 root]# rpm -q yum
yum-2.0.5.20040229-1
[root at linuxjohn2 root]# yum update
Gathering header information file(s) from server(s)
Server: Fedora Core 1.90 - i386 - Base
Server: Fedora Core 1.90 - Development Tree
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
[root at linuxjohn2 root]#

Thanks,
John



More information about the Yum mailing list