Somehoe I've broken yum on an old RH9 system. Eg:
   #yum update
   Traceback (most recent call last):
     File "/usr/bin/yum", line 22, in ?
       import yummain
     File "/usr/share/yum/yummain.py", line 22, in ?
       import clientStuff
     File "/usr/share/yum/clientStuff.py", line 25, in ?
       import pkgaction
     File "/usr/share/yum/pkgaction.py", line 25, in ?
       import rpmUtils
     File "/usr/share/yum/rpmUtils.py", line 12, in ?
       from urlgrabber import URLGrabError
     File "/usr/share/yum/urlgrabber.py", line 21, in ?
       import urllib2
     File "/usr/lib/python2.2/urllib2.py", line 101, in ?
       import ftplib
     File "/usr/lib/python2.2/ftplib.py", line 68, in ?
       all_errors = (Error, socket.error, IOError, EOFError)
   AttributeError: 'module' object has no attribute 'error'

Any suggestions?

Don't ask how I broke it - that was ages ago, but it got forgotten about. I just got an email from RH reminding me that it hadn't been updated in ages (which is true), so that prompted me to do something about it.

What I do vaguely recall is that something required an update to RPM, which I did, but that broke up2date so I uninstalled that and installed yum, but that didn't work and in the process I'd lost the ability to return to the previous config. RPM is at version 4.2.1.

--
Mark Rogers
More Solutions Ltd :: 0845 45 89 555


_______________________________________________
Peterboro mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/peterboro

Reply via email to