Автор Тема: CentOS 6.2 x86_64 проблем с yum  (Прочетена 1507 пъти)

mrowcp

  • Напреднали
  • *****
  • Публикации: 450
    • Профил
CentOS 6.2 x86_64 проблем с yum
« -: Feb 15, 2012, 21:14 »
Имам чувството, че тоя 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  ???
« Последна редакция: Feb 15, 2012, 21:16 от mrowcp »
Активен

Some Things Just Are The Way They Are

shoshon

  • Напреднали
  • *****
  • Публикации: 497
    • Профил
Re: CentOS 6.2 x86_64 проблем с yum
« Отговор #1 -: Feb 16, 2012, 01:51 »
Цитат
# 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  ???

rpm -e yum-plugin-fastestmirror-1.1.30-10.el6.noarch yum-3.2.29-22.el6.centos.noarch
Активен

mrowcp

  • Напреднали
  • *****
  • Публикации: 450
    • Профил
Re: CentOS 6.2 x86_64 проблем с yum
« Отговор #2 -: Feb 16, 2012, 15:57 »
Цитат
# 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  ???

rpm -e yum-plugin-fastestmirror-1.1.30-10.el6.noarch yum-3.2.29-22.el6.centos.noarch

 [_]3

Мерси
Активен

Some Things Just Are The Way They Are