LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-23-2006, 04:17 PM   #1
patdawg
LQ Newbie
 
Registered: Mar 2006
Distribution: Red Hat Enterprise Linux 4 Update 2
Posts: 14

Rep: Reputation: 0
I hosed my Python install...


So, I originally installed Python 2.4 after compiling the source files from python.org, but apparently was using the wrong version for the video editing software I am using it with. The developers of my editing software provided me with an rpm, which I installed, but after installing the rpm, my editing software install still didn't work.
After that, I figured I should just try a fresh install. I deleted all of the folders/files that the Python install had created, and then tried to reinstall the rpm. After typing "rpm -ivh python24-2.4.2-2.i386.rpm" I got the message "Preparing... ########################################### [100%]
package python24-2.4.2-2 is already installed". So then I decided to try "rpm -e python24-2.4.2-2.i386.rpm" and I got this message "error: package python24-2.4.2-2.i386.rpm is not installed".
What the heck should I do to convince Linux that this version of Python is not actually installed? I'm on Red Hat Enterprise Linux 4 Update 2.
 
Old 06-23-2006, 04:49 PM   #2
Israfel2000
Member
 
Registered: May 2004
Location: Underground base in the mountains
Distribution: FreeBSD, Fedora, Ubuntu
Posts: 87
Blog Entries: 2

Rep: Reputation: 18
Try looking for another mirror and then try installing.
 
Old 06-23-2006, 04:58 PM   #3
Israfel2000
Member
 
Registered: May 2004
Location: Underground base in the mountains
Distribution: FreeBSD, Fedora, Ubuntu
Posts: 87
Blog Entries: 2

Rep: Reputation: 18
Sorry, forgot to add. Python should be already installed, by default, on linux. But if you want to upgrade it then you should.
 
Old 06-23-2006, 04:58 PM   #4
patdawg
LQ Newbie
 
Registered: Mar 2006
Distribution: Red Hat Enterprise Linux 4 Update 2
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Israfel2000
Try looking for another mirror and then try installing.
How would downloading another identical rpm from another mirror fix it?
 
Old 06-24-2006, 06:32 AM   #5
Israfel2000
Member
 
Registered: May 2004
Location: Underground base in the mountains
Distribution: FreeBSD, Fedora, Ubuntu
Posts: 87
Blog Entries: 2

Rep: Reputation: 18
Well, maybe the one you first downloaded was corrupted and that might be the reason you are getting the error you are getting. So you either try the same one again (and maybe this time get lucky installing it) or try another mirror (if you are in the USA find one that is closest to you).
 
Old 06-24-2006, 04:21 PM   #6
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
You can always try the --force option to RPM when installing the RPM you have. This will make it go ahead and install the RPM even if it thinks that it is already installed. Hopefully this will get rid of whatever inconsistency you've introduced.
 
Old 06-25-2006, 11:42 PM   #7
patdawg
LQ Newbie
 
Registered: Mar 2006
Distribution: Red Hat Enterprise Linux 4 Update 2
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by btmiller
You can always try the --force option to RPM when installing the RPM you have. This will make it go ahead and install the RPM even if it thinks that it is already installed. Hopefully this will get rid of whatever inconsistency you've introduced.
Sweet...I didn't know about the --force option. I think I figured that --replacefiles, and --replacepkgs would take care of that. Thanks everyone for your advice. Anyone have any suggestions for a basic Linux handbook? I find myself getting frustrated with this OS all the time, because I'm so used to XP.
 
Old 06-26-2006, 01:41 AM   #8
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
I think that Running Linux, published by O'Reilly, is about the best Linux handbook out there. There's also the Rute Tutorial which is also very good and best of all free.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
install python master Linux - Software 0 11-20-2005 10:31 AM
Well,I hosed one MDK10.1 install... jolphil Mandriva 6 02-04-2005 01:17 PM
apt-get -f install - hosed up dhatcher2 Linux - Software 1 10-28-2004 02:26 PM
install python 2.3 ,necssary to remove python 2.2 ngan_yine Linux - Newbie 7 12-28-2003 04:07 PM
initrd hosed during new kernel install zzzt Linux - Newbie 1 12-27-2003 01:48 PM


All times are GMT -5. The time now is 01:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration