> > The correct solution is to put python back to python-2.3.4-14.2. Its not > just yum that you may have broken. Red Hat uses python everywhere and you > may have broken some of their tools as well. The yum module you can't > import is located at /usr/lib/python2.3/site-packages/yum and python 2.4 is > going to look for it in /usr/lib/python2.4/site-packages/yum. When you > upgrade python every package that puts its modules in site-packages will > need to be rebuilt as well. Sorry, but I need more to go on than this. I tried installing python (2.3.5 is what's available in that version), and I even removed /usr/local/lib/python2.4, but it didn't help. # yum There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: No module named yum Please install a package which provides this module, or verify that the module is installed correctly. It's possible that the above module doesn't match the current version of Python, which is: 2.3.5 (#1, Aug 4 2006, 12:18:32) [GCC 3.4.5 20051201 (Red Hat 3.4.5-2)] ... # up2date Traceback (most recent call last): File "/usr/sbin/up2date", line 11, in ? import rpm ImportError: No module named rpm