Red Hat Bugzilla – Bug 117357
yum has runtime error when trying to download new headers
Last modified: 2014-01-21 17:49:20 EST
Description of problem:
After my latest update (Feb 2nd) yum has stopped working.
Typing "yum update" or something similar gets me a UnboundLocalError
thrown by a bad python statement.
Here's the stack dump:
[root@glamdring root]# yum update
Unable to find pid
Gathering header information file(s) from server(s)
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 ?
File "/usr/share/yum/yummain.py", line 253, in main
File "/usr/share/yum/clientStuff.py", line 919, in download_headers
cachedbdict = returnCacheDBHeaders(nulist)
File "/usr/share/yum/clientStuff.py", line 901, in
mi = cachedb.dbMatch()
UnboundLocalError: local variable 'cachedb' referenced before
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.update to the latest yum package
2.type "yum update"
See section #1
I expect it to update my packages or tell me there are none to
Confirmed. 22.214.171.12440224-2 worked fine, 126.96.36.19940229-1 is a no-go.
*** This bug has been marked as a duplicate of 117290 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.