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 10: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 10: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 10: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 10:34 PM

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

Selos 08-27-2003 10:39 PM

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

MasterC 08-27-2003 10: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 10: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 11: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 06: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 06: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 06:54 AM

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

Selos 08-28-2003 01:49 PM

*still needs help* :(

MasterC 08-28-2003 04:00 PM

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

Cool

Selos 08-28-2003 04: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 04: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


All times are GMT -5. The time now is 12:17 PM.