Yum install error
i was trying to install yum , it successfully installed but when i run yum it said the following >>>>
-bash: /usr/bin/yum: /usr/bin/python: bad interpreter: No such file or directory
but i have python 2.5 installed
is there anyone could help me for this problem ...
Python 2.5 (r25:51908, Feb 2 2010, 20:13:22)
[GCC 4.1.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Thank you in advance
What are you trying to install yum on and how did you install it?
What distro are you using?
is it looking in the right location for python? does the file actually reside in /usr/bin ?
if not create a sym link to that location
Re- Yum install error
Sorry for late reply ,my distro is backtrack3 ,i finally edited the yum file location from /usr/bin/ to /usr/bin/python2.5 and it works now ,but again i got one error telling
bt ~ # yum
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'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.5.1 (r251:54863, May 4 2007, 16:52:23)
backtrack? i believe that is like slax. not sure if they even use yum to do updating or not. maybe you should try this:
Backtrack 3 -- how do I update it? - Topic Powered by Social Strata
i will try to do that and let you know ,
i finally install swaret now ,was trying to install pidgin 2.6
bcoz i removed the old version .. ,i did (--upgrade -a )with swaret for the packages , and it updated all the packages from the slackware ftp server
but i cud not figure out the how to install the pidgin latest version wit swaret .
i tried swaret --install pidgin -a ,not working yet
bt swaret # swaret --install pidgin -a
Listing available Packages matching Keyword: pidgin...
No available Packages found matching Keyword: pidgin!
can u help me please ..
Thanks in advance..