
wpomori
(usa Ubuntu)
Enviado em 15/10/2015 - 11:57h
Pessoal, estou com um problema. Recentemente fiz atualizações de alguns pacotes em um servidor com Red Hat, porém, ao fazer atualização do Python (instalei a versão 2.7) o yum ficou corrompido. Quando eu o chamo, aparece este erro:
[root@flash yum]# yum --version
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.7.3 (default, Oct 15 2015, 15:04:55)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-55)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq
Confesso que a pelo menos 1 ano eu mecho com Biolinux 8 e, a umas 2 semanas, estou mechendo neste servidor que tem o Red Hat instalado. Não sou usuário avançado, mas tentei algumas dicas de algumas pessoas que passaram pelo mesmo problema na web e, para meu caso, nada resolveu. Instalei o python 2.4.3, 2.4.3 e 2.7.3, o qual está no meu PATH atualmente. Tanto o yum quanto o python estão em /usr/bin. Quando consultei a verção com "cat /etc/redhat-release", recebi esta saída: CentOS release 5.11 (Final).
Não posso (ainda), atualizar a versão, pois é um servidor que está executando algumas terefas específicas e, além de mim, algumas pessoas também o usam.
Agradeço quem puder me ajudar.