LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   removing WinE (https://www.linuxquestions.org/questions/linux-newbie-8/removing-wine-86442/)

Selos 08-27-2003 09:09 PM

removing WinE
 
hello again,

I've installed the latest version of WinE, but it's not really working. A friend told me that an older version would be more stable an better working. but now ich can't uninstall the currently installed WinE

Currently installed: wine-20030813-1rh9winehq.i386.rpm

installed with root-login: rpm -Uvh wine

now i can not uninstall this programm to replace it with an older one :(

i tried rpm -e wine and rpm -q wine but both don't work :( the console just starts a new line without anything in it and that was it :(


can anyone help?

Demonbane 08-27-2003 09:24 PM

the actual name registered in the rpm database shouldn't be just "wine", it should also have the version/build etc after it.
do a "rpm -qa wine" to find out
then use rpm -e to uninstall

Selos 08-27-2003 09:28 PM

gmrpf.. doesn't work either *cry* :cry:

Quote:

Terminal
[root@localhost root]# rpm -qa wine

is just starts an new empty line and that's it.. nothing more happens :(

DrOzz 08-27-2003 09:34 PM

rm -rf /var/lib/__db*
rpm -vv --rebuilddb
rpm -e wine

Selos 08-27-2003 09:39 PM

is it rm -rf /var/lib/__db* or is it rpm -rf /var/lib/__db* ?

MasterC 08-27-2003 09:40 PM

Quote:

Originally posted by Demonbane
the actual name registered in the rpm database shouldn't be just "wine", it should also have the version/build etc after it.
do a "rpm -qa wine" to find out
then use rpm -e to uninstall

Wouldn't there be a grep there?

rpm -qa | grep wine

?

Cool

Selos 08-27-2003 09:50 PM

masterC that doesn't work either :( just copied into temrinal


and DrOzzt's cmds don't work, too :(((

the temrinal just starts a new line and then stops doingt anything.. with all these commands :(

MasterC 08-27-2003 10:36 PM

Are you sure it's not grepping or running **something** that is just taking a while? Sometimes what seems like a "blank line" is actually just a hesitation, give it a few to see if it finishes.

Cool

Selos 08-28-2003 05:44 AM

hmm

Quote:

Terminal
[root@localhost root]# rpm -e wine
Fehler beim Lesen der Informationen über den Dienst wine: Datei oder Verzeichnis nicht gefunden
Fehler: %preun(wine-20030813-1rh9winehq) scriptlet failed, exit status 1
[root@localhost root]# rpm -qa | grep wine
wine-20030813-1rh9winehq
[root@localhost root]# rpm -e wine-20030813-1rh9winehq
Fehler beim Lesen der Informationen über den Dienst wine: Datei oder Verzeichnis nicht gefunden
Fehler: %preun(wine-20030813-1rh9winehq) scriptlet failed, exit status 1
[root@localhost root]#
"Fehler beim Lesen der Informationen über den Dienst wine: Datei oder Verzeichnis nicht gefunden" means "Error while reading information about the service wine: file or directory not found"

:cry:

MasterC 08-28-2003 05:47 AM

Quote:

Originally posted by DrOzz
rm -rf /var/lib/__db*
rpm -vv --rebuilddb
rpm -e wine

Have you since then given this a try again?

Might simply be a db error..

Cool

Selos 08-28-2003 05:54 AM

yes i tried this twice and it didn't work both times

Selos 08-28-2003 12:49 PM

*still needs help* :(

MasterC 08-28-2003 03:00 PM

Try reinstalling the RPM, and then removing it, maybe something got lost from the original install?

Cool

Selos 08-28-2003 03:26 PM

hm the packe install manager says "This package is already installed" and I'm ashamed but i don't know the console command.. i tried rpm -a wine-20030813-1rh9winehq.i386.rpm and rpm -f wine-20030813-1rh9winehq.i386.rpm but didn't work :(
and i also tried without this .rpm externsion :)

MasterC 08-28-2003 03:35 PM

You'll want the .rpm extension, you want full filenames when installing, but just package names when uninstalling.

The command line is:
rpm -Uvh filename.rpm

To force it:
rpm --force -Uvh filename.rpm

Cool

Selos 08-28-2003 03:56 PM

ok i did this but thtas what happened

Code:

Preparing...  blablabla  [100%]
1. wine  blablabla  [100%]

then again it starts this empty line and remains so for over 15 minutes without showing any reaction ?( *confused* don't think it's normal that it takes this long...

Selos 08-28-2003 07:22 PM

Problem still remaining I#m finished with my latin and don't know what to do :( I really need help :(

edit:

i downloaded the source code and tried to compile it like discribed in the HowTo, but the only thing i get is this:

Quote:

Terminal

[selos@localhost wine-20030813]$ ./tools/wineinstall
WINE Installer v0.74

Warning: Old Wine RPM install detected. Do you want to remove it first?
(yes/no) yes
We need to remove the rpm as root, please enter your root password

Starting wine rpm removal...
Password:

so the blank line is back.. it is standing and doing nothing now for over 40 minutes....

MasterC 08-28-2003 09:28 PM

Wow, this is quite the sad little bug, or so it would seem. I'd suggest hopping on their mailing list (if they have one) or submitting this as a possible bug. Sadly, in your situation, I can't think of further action you could take other than just saying "no" to "Do you want to remove it first?" or using the RPM method and forcing the new (old) one...

Cool

Selos 08-28-2003 09:38 PM

yes, i also thaught about saying no:

Quote:

[selos@localhost selos]$ cd downloaded/WinE/wine-20030813
[selos@localhost wine-20030813]$ ./tools/wineinstall
WINE Installer v0.74

Warning: Old Wine RPM install detected. Do you want to remove it first?
(yes/no) no
Sorry, I won't install Wine when an rpm version is still installed.
(Wine support suffered from way too many conflicts between RPM
and source installs)
Have a nice day !
[selos@localhost wine-20030813]$
so i'm starting to hate WinE :(


All times are GMT -5. The time now is 07:07 AM.