[Yum] Need Help Getting Yum To Work With Mandrake 9.2

Kathy Wills kathywills at brannanorwills.com
Sun Dec 28 04:44:14 UTC 2003

I have Yum version 2.0.1 installed from a mandrake rpm package. My 
Python version is 2.3-3. Here is my /etc/yum.conf file:

> [main]
> cachedir=/var/cache/yum
> debuglevel=2
> logfile=/var/log/yum.log
> pkgpolicy=newest
> distroverpkg=mandrake-release    ;;Mandrake Linux release 9.2 (FiveStar)
> tolerant=1
> exactarch=1
> [base]
> name=Mandrake Linux $releasever - Base
> baseurl=http://mirrors.usc.edu/pub/yum-repository/mandrake/$releasever/i586/
> [updates]
> name=Mandrake Linux $releasever - Updates
> baseurl=http://mirrors.usc.edu/pub/yum-repository/mandrake/updates/$releasever/i586/
> [contrib]
> name=Mandrake Linux $releasever - Contrib
> baseurl=http://mirrors.usc.edu/pub/yum-repository/mandrake/$releasever/contrib/i586/

Here are the error messages I get when I do "yum list":

 root]# yum list
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 ?
    File "yumain.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(Margs)
    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 get response
Type error:_init_()got an unexpected keyboard argument 'method'

I did not touch the keyboard when this was working. My computer is the 
only one that I need to keep up to date. Has anyone been able to get 
this working with Mandrake 9.2? If so what am I doing wrong?

If I can get it working, it sounds like I will like it better than 
Mandrake's urpmi.

Kathy Wills

+ Genealogy Web Site: http://www.brananorwills.com                  +
+                                                                   +

More information about the Yum mailing list