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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-18-2004, 11:25 PM
|
#1
|
LQ Newbie
Registered: Feb 2004
Location: Charleston
Distribution: Red Hat 9 Workstation
Posts: 2
Rep:
|
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-18-2004 at 11:31 PM.
|
|
|
02-19-2004, 12:29 AM
|
#2
|
Member
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546
Rep:
|
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
|
|
|
02-19-2004, 01:14 PM
|
#3
|
LQ Newbie
Registered: Feb 2004
Location: Charleston
Distribution: Red Hat 9 Workstation
Posts: 2
Original Poster
Rep:
|
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 01:16 PM.
|
|
|
02-19-2004, 11:29 PM
|
#4
|
Member
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546
Rep:
|
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
|
|
|
02-20-2004, 12:44 AM
|
#5
|
Senior Member
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 01:39 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|