[Yum] yum-2.0.1 -- problem with httplib.py

David Relson relson at osagesoftware.com
Thu Dec 18 13:14:41 UTC 2003


Greetings,

I've just installed yum-2.0.1-1mdk.noarch.rpm on my Mandrake 9.2 system.
 When I run it, I get the following:

[root at osage tmp]# yum list updates
Gathering header information file(s) from server(s)
Server: Mandrake 9.2 base
Traceback (most recent call last):
  File "/usr/bin/yum", line 60, in ?
    yummain.main(sys.argv[1:])
  File "yummain.py", line 183, in main
  File "clientStuff.py", line 734, in get_package_info_from_servers
  File "clientStuff.py", line 1103, in grab
  File "urlgrabber.py", line 228, in retrygrab
  File "urlgrabber.py", line 306, in urlgrab
  File "/usr/lib/python2.3/urllib2.py", line 136, in urlopen
    return _opener.open(url, data)
  File "/usr/lib/python2.3/urllib2.py", line 333, in open
    '_open', req)
  File "/usr/lib/python2.3/urllib2.py", line 313, in _call_chain
    result = func(*args)
  File "keepalive.py", line 162, in http_open
  File "keepalive.py", line 143, in do_open
  File "/usr/lib/python2.3/httplib.py", line 777, in getresponse
    method=self._method)
TypeError: __init__() got an unexpected keyword argument 'method'

### FWIW, httplib.py is  from package python-2.3-3mdk ###

[root at osage tmp]# rpm -qf /usr/lib/python2.3/httplib.py
python-2.3-3mdk

Any suggestions on what I need to change to move forward?

Thank you.

David



More information about the Yum mailing list