LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-27-2003, 10:09 PM   #1
Selos
Member
 
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 59

Rep: Reputation: 15
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?
 
Old 08-27-2003, 10:24 PM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
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
 
Old 08-27-2003, 10:28 PM   #3
Selos
Member
 
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 59

Original Poster
Rep: Reputation: 15
gmrpf.. doesn't work either *cry*

Quote:
Terminal
[root@localhost root]# rpm -qa wine
is just starts an new empty line and that's it.. nothing more happens
 
Old 08-27-2003, 10:34 PM   #4
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
rm -rf /var/lib/__db*
rpm -vv --rebuilddb
rpm -e wine
 
Old 08-27-2003, 10:39 PM   #5
Selos
Member
 
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 59

Original Poster
Rep: Reputation: 15
is it rm -rf /var/lib/__db* or is it rpm -rf /var/lib/__db* ?
 
Old 08-27-2003, 10:40 PM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
Old 08-27-2003, 10:50 PM   #7
Selos
Member
 
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 59

Original Poster
Rep: Reputation: 15
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

Last edited by Selos; 08-27-2003 at 10:54 PM.
 
Old 08-27-2003, 11:36 PM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
Old 08-28-2003, 06:44 AM   #9
Selos
Member
 
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 59

Original Poster
Rep: Reputation: 15
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"

 
Old 08-28-2003, 06:47 AM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
Old 08-28-2003, 06:54 AM   #11
Selos
Member
 
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 59

Original Poster
Rep: Reputation: 15
yes i tried this twice and it didn't work both times
 
Old 08-28-2003, 01:49 PM   #12
Selos
Member
 
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 59

Original Poster
Rep: Reputation: 15
*still needs help*
 
Old 08-28-2003, 04:00 PM   #13
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

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

Cool
 
Old 08-28-2003, 04:26 PM   #14
Selos
Member
 
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 59

Original Poster
Rep: Reputation: 15
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
 
Old 08-28-2003, 04:35 PM   #15
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble running wine from src wine:error while loading shared libraries: libwine.so.1 brynjarh Linux - Newbie 2 05-28-2013 11:59 AM
Link targets - problems with Wine (Though not Wine specific - Wine site doesn't help) Kevjml Linux - Newbie 1 01-13-2006 08:53 AM
Removing files wihtout removing containing Direcotry caps_phisto Linux - General 2 10-07-2004 09:16 AM
Hacking Win32 exe files ? (removing INT15 timer CALLS) for wine compatability qwijibow Linux - Software 5 06-24-2004 12:57 PM
wine: chdir to /tmp/.wine-tom/server-306-33fca : No such file or directory Kinstonian Linux - Software 19 06-21-2003 06:16 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration