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? If not then the problem is that package is outside of your python path b/c the package was built for Fedora Core 3. The other problem you might have eventually is the age of the libxml2- python package on rhl9. -sv ps: Hi Stephen! Say hi to misty and the chillun for me!