LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 02-19-2004, 12:25 AM   #1
onyx
LQ Newbie
 
Registered: Feb 2004
Location: Charleston
Distribution: Red Hat 9 Workstation
Posts: 2

Rep: Reputation: 0
Question How do I force an older rpm to install over a newer rpm of wine


I installed wine 2004... and wanted to install instead wine 2003... . However I accidentally removed some of wines directories to try a manual removal. Therefore when I try to do a rpm -e on the currently installed package it tells me "Package not installed". But if I try to install the older version (2003...) from its rpm it says "A newer version of wine is currently installed" and the rpm aborts. I also tried rpm -i --force but the rpm just hung there for a while and did nothing. Is there a file in linux which I can remove the existence of a program (like windows registry) and force the rpm to install? Or rather how do I remove all traces of the old wine from the system (short of a full re-install of RedHat 9)?

Last edited by onyx; 02-19-2004 at 12:31 AM.
 
Old 02-19-2004, 01:29 AM   #2
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
Ok....you can try this out...

1. re-install wine 2004 again by this command:

rpm -ivh --force --nodeps --replacepkgs --replacefiles wine-20040213*.rpm

2. Now once installed, you can remove the new wine version with command

rpm -e wine

OR

1. you can find out the various files that are contained in the package file

by using the command

rpm -qlp wine20040213*.rpm

2. Now manually remove all these files...

3. then, install the 2003 version of wine.

Hope that will help

Regards,

amit
 
Old 02-19-2004, 02:14 PM   #3
onyx
LQ Newbie
 
Registered: Feb 2004
Location: Charleston
Distribution: Red Hat 9 Workstation
Posts: 2

Original Poster
Rep: Reputation: 0
Unhappy still having problems

Thanks for the reply. I tried both methods and didn't have much success uninstalling wine 2004* but I did force the install of wine2003* but got some symlink errors.
Wine seems to work though but now I still can't get Adobe Photoshop 6.0 to install. It keeps telling me that it can't install on windows NT4.0 even though i have set up my wine.conf file to emulate win98. Any pointers? I thought switching from wine 2004* to wine 2003* would help me run Photoshop but now I have more errors than before. With 2004* I at least got 97% through the Photoshop installation before it got to the step: Creating Directories and Files, then everthing completely locks up and I must reset the computer. When I restarted, Photoshop seemed to have installed in Program Files directory ok, but when i run $ wine Photoshop.exe a dialog box pops up and says "Successful" with the option of clicking OK. But ironically nothing seemed to be successful or OK at all because nothing happens. Again, this was before I trashed wine2004 and its directories. Now Photoshop just wont install.

Last edited by onyx; 02-19-2004 at 02:16 PM.
 
Old 02-20-2004, 12:29 AM   #4
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
Well....I cant help much here but I can only suggest that you remove the .wine sub-directory in your home directory and the wine executable /usr/bin/wine. Then install the wine version that is marked as 'stable'......

OR

There's a better product ( but commercial ) called "CrossOver Office" from Codeweavers Inc....It uses a different version of wine that is developed by this company. This version of wine is more stable and runs many windows apps including photoshop better than the winehq's version of wine. A 14 day trial version is available free for download from -

http://www.codeweavers.com/site/prod...2ff5b0f28fcce2

I have tried it sometime back and found it far better than winehq's wine. I hope you will feel the same too..

Regards,

amit
 
Old 02-20-2004, 01:44 AM   #5
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
they tell you at winehq and other wine help sites that you need to uninstall the old version of wine first before installing another version of wine. there is no install over an already installed version of wine (without a lot of clean up anyway).

to uninstall an rpm from the command line, you need to get the name of the package (not to be confused with the name of the rpm file which are similar)

1. rpm -qa | grep wine
<remember the output or copy the output and paste it into the rpm -e command>

2. rpm -e <output of #1>

then go about installing the other version of wine.
 
  


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
Force RPM reinstall stefaandk Linux - Newbie 2 06-20-2005 11:30 PM
how can i install wine from a .bz2 or .rpm file Norin311 Linux - Software 7 09-09-2004 06:32 AM
force uninstall by rpm Thinkgeekness Linux - General 1 10-14-2003 02:34 PM
wine rpm install? JohnGalt00 Red Hat 20 09-30-2003 03:45 PM
force RPM install cleekjc Linux - Newbie 8 08-07-2003 10:36 AM


All times are GMT -5. The time now is 08:46 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration