-bash: /usr/bin/yum: /usr/bin/python: bad interpreter: No such file or director
Yum not work in my os ( Centos 5 )
Please help me # yum -bash: /usr/bin/yum: /usr/bin/python: bad interpreter: No such file or directory |
Do you have python installed?
|
Welcome to LQ.
You may have to reinstall python manually. Yum and all the "system-config-" applications depend on python. 32bits http://mirror.centos.org/centos/5.8/...6.el5.i386.rpm > python-2.4.3-46.el5.i386.rpm 64bits http://mirror.centos.org/centos/5.8/...el5.x86_64.rpm > python-2.4.3-46.el5.x86_64.rpm # rpm -Uvh --force python-2.4.3-46.el5.<arch>.rpm . |
Quote:
PHP Code:
|
irlogo
WHAT is it you are doing ? your first post mentioned a python problem CentOS REQUIRES the version of python in the CentOS update repo yum & Gnome DEPEND on that specific version if you manually change the OLDER version of python you WILL mess up Cent5 you were instructed to MANUALLY force the install of the correct python rpm you then post something on REINSTALLING "yum" and "fastestmirror" from a manually downloaded rpm yum was NOT the problem python is WHAT is going on here ??? you did not fix the python problem |
The rpm option "--force" must be used, if you want to repair / replace
a package with rpm. 'man rpm' : --force : Same as using --replacepkgs, --replacefiles I.e. # rpm -Uvh --force yum-*.rpm Any of these installed packages (yum dependencies) can stop yum, if they have missing files, or have corrupt files : python, rpm, yum-fastestmirror, python-urlgrabber, yum-metadata-parser, python-elementtree, python-sqlite, python-iniparse, rpm-python. . |
All times are GMT -5. The time now is 05:20 AM. |