[Yum] Error with cachedb

seth vidal skvidal at phy.duke.edu
Tue Mar 2 19:04:43 UTC 2004


On Tue, 2004-03-02 at 13:45, Villalovos, John L wrote:
> 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]#
> 


yep.

fixed in cvs
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=117290

-sv





More information about the Yum mailing list