I have been using Fedora 8 for a while and just recently starting receiving an error message when trying to update software with yum. So I upgraded to fedora 9 with the hopes that this error would get fixed, but no such luck.
This is the error i'm receiving:
Gathering header information file(s) from server(s)
Server: Red Hat Linux 9 - i386 - Base
Traceback (most recent call last):
File "/usr/bin/yum", line 30, in <module>
File "/usr/share/yum/yummain.py", line 233, in main
File "/usr/share/yum/clientStuff.py", line 846, in get_package_info_from_servers
File "/usr/share/yum/clientStuff.py", line 1327, in grab
bandwidth, conf.retries, retrycodes, checkfunc)
File "/usr/share/yum/urlgrabber.py", line 237, in retrygrab
progress_obj, throttle, bandwidth)
File "/usr/share/yum/urlgrabber.py", line 314, in urlgrab
fo = urllib2.urlopen(url)
File "/usr/lib/python2.5/urllib2.py", line 121, in urlopen
return _opener.open(url, data)
File "/usr/lib/python2.5/urllib2.py", line 380, in open
response = meth(req, response)
File "/usr/lib/python2.5/urllib2.py", line 487, in http_response
code, msg, hdrs = response.code, response.msg, response.info()
AttributeError: HTTPResponse instance has no attribute 'code'
I have ran yum clean, yum clean-all.
Do I need to uninstall yum and reinstall?
Can anyone help with this? Thanks!!!