LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-12-2007, 09:54 PM   #1
c4nk
Member
 
Registered: Oct 2006
Distribution: CentOS 4 :) and Win Xp ;(
Posts: 32

Rep: Reputation: 15
python messed up my yum


HAHA the subject is funny expecially if you dont know anything about linux...

well what i did is i added a rpmforge to my yum repository and ran 'yum -y update', amd updated bunch of things, after that whenever i run yum it gives me this message:

bash: /usr/bin/yum: /usr/bin/python: bad interpreter: No such file or directory

is there a way to fix it so i can continue to use yum?
 
Old 03-13-2007, 12:23 AM   #2
edenCC
Member
 
Registered: May 2006
Location: China
Distribution: Debian
Posts: 198
Blog Entries: 1

Rep: Reputation: 32
you should modify "/usr/bin/yum", to be specified the first line of the file, and specify the correct place of python.
 
Old 03-13-2007, 01:03 AM   #3
c4nk
Member
 
Registered: Oct 2006
Distribution: CentOS 4 :) and Win Xp ;(
Posts: 32

Original Poster
Rep: Reputation: 15
And what do i change it to?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum - cElementTree - Python WhatsOnYourBrain Fedora 17 03-24-2011 09:32 AM
YUM dependencies messed up chrisjswanson Fedora 2 01-17-2006 09:20 PM
Messed up Python Curses happygiraffe98 Programming 2 12-02-2005 08:53 AM
Problem with Python? Yum? Daenris Linux - Software 1 04-08-2005 10:31 AM
Fedora + yum - rpm-python = :( BrokenBrick Linux - Software 1 03-11-2005 08:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration