Jump to content

Yum problems


wrenhunt
 Share

Recommended Posts

I'm having problems getting yum to work on Mandrake 10.0. I have my /etc/yum.conf configured for a good Mandrake yum repository, but I receive Python (python version 2.3.3) errors for every Yum command I issue, for example:

 

[root@eeyore bose]# yum --version

2.0.1

 

# yum check-update

Gathering header information file(s) from server(s)

Server: Red Hat Linux Null 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 129, in urlopen

return _opener.open(url, data)

File "/usr/lib/python2.3/urllib2.py", line 326, in open

'_open', req)

File "/usr/lib/python2.3/urllib2.py", line 306, 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 776, in getresponse

method=self._method)

TypeError: __init__() got an unexpected keyword argument 'method'

 

 

[root@eeyore bose]# python -V

Python 2.3.3

 

Is my yum hosed, python, or just me!? :-) Thanks!

 

 

Wren

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...