On Thu, Feb 24, 2005 at 02:12:05PM -0500, seth vidal wrote: > On Thu, 2005-02-24 at 13:09 -0600, Stephen Granade wrote: > > I tried updating from yum 2.0.7 to 2.2.0 this morning on my RHL 9 > > system. However, it doesn't want to work. I get the > > > > Traceback (most recent call last): > > File "/usr/bin/yum", line 6, in ? > > import yummain > > File "/usr/share/yum-cli/yummain.py", line 23, in ? > > import yum > > ImportError: No module named yum" > > > > reported by others. I tried a rebuild from the source RPM, to no > > avail. The versions of rpm, python &c. on my system are: > > > > rpm-4.2-0.69 > > yum-2.2.0-1 > > python-2.2.2-26 > > rpm-python-4.2-0.69 > > > > The sys.path under python is: > > > > ['', '/usr/lib/python2.2', '/usr/lib/python2.2/plat-linux2', > > '/usr/lib/python2.2/lib-dynload', '/usr/lib/python2.2/site-packages', > > '/usr/lib/python2.2/site-packages/gtk-2.0'] > > > > Any pointers on what I'm doing wrong? > > > > Did you rebuild the srpm? Yeah. That was the bit above where I talked about trying a rebuild from the source RPM. :) However, I wanted to make sure, so went back to check -- and lo and behold I'd accidentally reinstalled the downloaded RPM rather than the built-from-SRPM rpm. D'oh! It works just fine now. > ps: Hi Stephen! Say hi to misty and the chillun for me! Will do! Stephen