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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
08-27-2003, 10:09 PM
|
#1
|
Member
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 59
Rep:
|
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?
|
|
|
08-27-2003, 10:24 PM
|
#2
|
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796
Rep:
|
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
|
|
|
08-27-2003, 10:28 PM
|
#3
|
Member
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 59
Original Poster
Rep:
|
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 
|
|
|
08-27-2003, 10:34 PM
|
#4
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
rm -rf /var/lib/__db*
rpm -vv --rebuilddb
rpm -e wine
|
|
|
08-27-2003, 10:39 PM
|
#5
|
Member
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 59
Original Poster
Rep:
|
is it rm -rf /var/lib/__db* or is it rpm -rf /var/lib/__db* ?
|
|
|
08-27-2003, 10:40 PM
|
#6
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
08-27-2003, 10:50 PM
|
#7
|
Member
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 59
Original Poster
Rep:
|
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.
|
|
|
08-27-2003, 11:36 PM
|
#8
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
08-28-2003, 06:44 AM
|
#9
|
Member
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 59
Original Poster
Rep:
|
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"

|
|
|
08-28-2003, 06:47 AM
|
#10
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
08-28-2003, 06:54 AM
|
#11
|
Member
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 59
Original Poster
Rep:
|
yes i tried this twice and it didn't work both times
|
|
|
08-28-2003, 01:49 PM
|
#12
|
Member
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 59
Original Poster
Rep:
|
*still needs help* 
|
|
|
08-28-2003, 04:00 PM
|
#13
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Try reinstalling the RPM, and then removing it, maybe something got lost from the original install?
Cool
|
|
|
08-28-2003, 04:26 PM
|
#14
|
Member
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 59
Original Poster
Rep:
|
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 
|
|
|
08-28-2003, 04:35 PM
|
#15
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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 01:04 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|