Install gettext-0.17-1.el5.i386.rpm on CentOS 5.8 i386 gives "/usr/bin/python is needed" error

Posted by viji on Server Fault See other posts from Server Fault or by viji
Published on 2012-10-04T14:13:56Z Indexed on 2012/10/04 15:41 UTC
Read the original article Hit count: 151

Filed under:
|
|
|
|

I've removed yum by mistake. So, now I'm installing all the dependencies needed by yum manually. One of those is gettext-0.17-1.el5.i386.rpm and when I try to install it gives the following error,

error: Failed dependencies:
    /usr/bin/python is needed by gettext-0.17-1.el5.i386

which is weird since I've installed python 2.6 already in the system.

#python -V
Python 2.6.8
#which python
/usr/local/bin/python

So I copied /usr/local/bin/python to /usr/bin/python and even after that I'm getting the same error. Any help is appreciated.

© Server Fault or respective owner

Related posts about python

Related posts about centos5