Имам чувството, че тоя yum се е*ава с мене...
След като видях, че по някаква причина се е прецакал ( най-вероятно заради python-а ), реших да го преинсталирам:
#yum -v
'import site' failed; use -v for traceback
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.6.6 (r266:84292, Dec 7 2011, 20:48:22)
[GCC 4.4.6 20110731 (Red Hat 4.4.6-3)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
Опитвам се да го затрия:
# rpm -qa |grep yum
yum-3.2.29-22.el6.centos.noarch
yum-utils-1.1.30-10.el6.noarch
yum-plugin-security-1.1.30-10.el6.noarch
yum-metadata-parser-1.1.2-16.el6.x86_64
yum-plugin-fastestmirror-1.1.30-10.el6.noarch
# rpm -e yum-3.2.29-22.el6.centos.noarch
error: Failed dependencies:
yum >= 3.0 is needed by (installed) yum-plugin-fastestmirror-1.1.30-10.el6.noarch
yum >= 3.2.18 is needed by (installed) yum-plugin-security-1.1.30-10.el6.noarch
yum >= 3.2.29 is needed by (installed) yum-utils-1.1.30-10.el6.noarch
# rpm -i yum-3.2.29-22.el6.centos.noarch.rpm
package yum-3.2.29-22.el6.centos.noarch is already installed
# rpm -e yum-utils-1.1.30-10.el6.noarch
# rpm -e yum-plugin-security-1.1.30-10.el6.noarch
# rpm -e yum-plugin-fastestmirror-1.1.30-10.el6.noarch
error: Failed dependencies:
yum-plugin-fastestmirror is needed by (installed) yum-3.2.29-22.el6.centos.noarch
# rpm -e yum-3.2.29-22.el6.centos.noarch
error: Failed dependencies:
yum >= 3.0 is needed by (installed) yum-plugin-fastestmirror-1.1.30-10.el6.noarch
WTF ???