libxml2-2.9.0 と libxslt-1.1.27 をインストールした後、実行したすべての yum コマンドで 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.4.3 (#1, Jan 21 2009, 01:11:33)
[GCC 4.1.2 20071124 (Red Hat 4.1.2-42)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
それから私はPythonのバージョンが古すぎると思って、Python 2.7.3をインストールして最初からインストールしました.いくつかの間違った試行の後、ますます悪化しました.今、「python -V」を実行すると、バージョン「Python 2.7.3」を取得しました. 「/usr/bin/python -V」を実行すると、「python-2.4.3-24.el5」が返されました。何をしても、そのメッセージでyumが壊れています。どうすれば yum を取り戻すことができますか? 私のOSは次のとおりです:linux 2.6.18-164.11.1.el5 x86_64 GNU / Linux