LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   WINE and RPM package help (https://www.linuxquestions.org/questions/linux-software-2/wine-and-rpm-package-help-188173/)

beddy 05-31-2004 06:17 PM

WINE and RPM package help
 
Well I will attempt to provide as much info as I can as I am still kinda new to linux and am not sure what is needed to answer this question properly. First off I have installed WINE and used it in the past... never without a problem. I had just recently setup a linux box on a PII 400 and downloaded wine. I found an optimized build for AMD Athlons and that is what is in most of my machines so I downloaded it thinking the box I was on was an AMD and not a PII. I ran the RPM installer and it installed fine. When I went to run it it say something like "segmentation error." I traced my steps to find out I installed the wrong RPM package.

I then tried to install the proper one before uninstalling the wrong one and of course it wouldn't let me and told me the package was already installed. I went to WINEhq.com and found the line to uninstall it and I ran it. The command, "rpm -e wine", ran but appeared to freeze by not showing any HD activity or returning me to a prompt for a while. I had logged off and shut the machine down for the night to deal with it the next day. I tried to run wine and it said it wasnt there... and then I looked in the packages list to find it still there. When I try to uninstall it again it says:

error reading information on service wine: No such file or directory
error: %preun(wine-20040505-1fc1winehq) scriptlet failed, exit status 1

When i try to install the correct package it says wine is already installed. I am assuming it had removed part of the package and still left behind enough to ruin the past few days of me trying to figure this problem out. Please help!! I am at a loss of what to try next.

jailbait 06-01-2004 11:39 AM

"When i try to install the correct package it says wine is already installed. I am assuming it had removed part of the package and still left behind enough to ruin the past few days of me trying to figure this problem out. "

One possibility is that the rpm data base may be screwed up. Try rebuilding the rpm data base:
rpm --rebuilddb

Then try rpm -e again to get the remaining fragments.

--------------------------
Steve Stites


All times are GMT -5. The time now is 09:25 PM.