Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
Distribution: Slackware 10.0|Damn Small Linux|NetBSD|Debian
Posts: 46
Rep:
need to remove a sloppy install (wine)
erm yeah............ well i just installed wine (slackware 9.1, 2.4.22 kernel) and i messed it up pretty good. well i read the readme's and i know how to install it right this time, thats not what i need help with. its all the files that ended up in /usr/bin /usr/lib and /usr/doc that i need to get rid of. can anyone supply me with a shell script for removing them or at least a list of the files that are there (from package Wine-20040309-i686-S9.tar) so i can write one myself?
thanks in advance
Distribution: Slackware 10.0|Damn Small Linux|NetBSD|Debian
Posts: 46
Original Poster
Rep:
ergh..... once again.... i solve my own friggin problems after i post here... well for anyone with my problem (i doubt it), just remove the /usr/lib/wine and /usr/doc/Wine-xxxxxxx dirs, and then check the original package for the /usr/bin files and remove them, which wont be so tedious if you change into the usr/bin dir (from the package not /usr/bin) and do ls>~/files and just modifiy that a little ("rm " in front of the file names....) and there you have your shell script.... (heh wouldnt it be a kick in the balls if i looked back and found an uninstaller?)
[root@localhost Downloads]# rpm -e wine | more
error reading information on service wine: No such file or directory
error: %preun(wine-20040309-1rh73winehq) scriptlet failed, exit status 1
If I try to reinstall the same or another package it says
[root@localhost Downloads]# rpm -ivh wine-0*.rpm
warning: wine-0.20040321-1.i386.rpm: V3 DSA signature: NOKEY, key ID b8693f2c
Preparing... ########################################### [100%]
package wine-20040309-1rh73winehq (which is newer than wine-0.20040321-1) is already installed
file /etc/wine/system.reg from install of wine-0.20040321-1 conflicts with file from package wine-20040309-1rh73winehq
file /etc/wine/user.reg from install of wine-0.20040321-1 conflicts with file from package wine-20040309-1rh73winehq
... etc
I have not deleted any files from the wine install. Yet it will still not let me uninstall.
Any suggestions?
Distribution: Slackware 10.0|Damn Small Linux|NetBSD|Debian
Posts: 46
Original Poster
Rep:
Quote:
Originally posted by Boow If you compiled it from source you could of just cd'd to the directory an type make uninstall
installed from rpm "rpm -e wine"
when you do it the way you did just screws it up even more
yeh, well the way I installed it, i had just copied files from one place to another.....so deleting it didnt screw up anything.... and if you really care, it was a slackware package so after that I just typed installpkg "pkgname"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.