How do I force an older rpm to install over a newer rpm of wine
Linux - SoftwareThis 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.
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.
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)?
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.
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 -
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.