Couldn't delete Software after deleting manually

Questions about Wine on Linux
Locked
jammer
Newbie
Newbie
Posts: 2
Joined: Wed May 16, 2018 10:36 am

Couldn't delete Software after deleting manually

Post by jammer »

Hey,
I deleted some wine software via my terminal (rm) because some reasons.
After that, the Software still appears in the installed section in the uninstaller.
But when I try to uninstall now in the uninstaller an error occures and telling me that the needed files are missing.
Do anybody know how i can delete this entry in the uninstaller?
I also reinstalled wine (with purge) but everything is still there. And I have no clue what I can do now.
Thank You for the support.
jammer :D
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Couldn't delete Software after deleting manually

Post by Bob Wya »

jammer wrote:Hey,
I deleted some wine software via my terminal (rm) because some reasons.
No. Don't do this. :shock:
jammer wrote: After that, the Software still appears in the installed section in the uninstaller.
It still has a Wine Registry Entry.
jammer wrote: But when I try to uninstall now in the uninstaller an error occurs and telling me that the needed files are missing.
Of course it doesn't work... You've deleted the uninstaller executable. :roll:
jammer wrote: Do anybody know how i can delete this entry in the uninstaller?
I also reinstalled wine (with purge) but everything is still there.
Why? This won't affect any of your WINEPREFIX's - by design.
jammer wrote: And I have no clue what I can do now.
Thank You for the support.
jammer :D
You'll have to delete the Registry keys manually:

Code: Select all

wine regedit.exe
or delete your default WINEPREFIX and start again:

Code: Select all

rm -rf ~/.wine
I would suggest reading: WineHQ FAQ.

Bob
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: Couldn't delete Software after deleting manually

Post by DarkShadow44 »

Bob Wya wrote:I would suggest reading: WineHQ FAQ.
Well, to be fair, it's more a Windows issue than a Wine issue. I mean, that's exactly how Windows behaves. But it's similar when using a linux package manager.
In short - Always properly uninstall a program or you'll run into problems.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Couldn't delete Software after deleting manually

Post by Bob Wya »

DarkShadow44 wrote: Well, to be fair, it's more a Windows issue than a Wine issue. I mean, that's exactly how Windows behaves. But it's similar when using a linux package manager.
In short - Always properly uninstall a program or you'll run into problems.
No... To be fair it's an "end user issue" if you start randomly deleting files on your disk drive! :lol:

Bob
jammer
Newbie
Newbie
Posts: 2
Joined: Wed May 16, 2018 10:36 am

Re: Couldn't delete Software after deleting manually

Post by jammer »

But when the wine uninstaller even doesn't work (before rm via bash) i thought i give it a try.
And I know that when i delete the whole files of a installed software the uninstaller file also is missing ;)
I wanted to prevent answers like "use the uninstaller in the directory?!?..." or something like this. It's better to describe
the whole problem than just one line and expect that somebody will fix it.
Allthough thanks for the registry tip - will try it.
And to be fair ... "randomly" is something realy different. Yes - it is an error 40 ... but thats why i ask ;)
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: Couldn't delete Software after deleting manually

Post by dimesio »

FYI, experienced users usually keep apps in separate wineprefixes and simply delete the whole wineprefix when they want to get rid of something.
Cybermax
Level 4
Level 4
Posts: 218
Joined: Fri Dec 01, 2017 5:26 pm

Re: Couldn't delete Software after deleting manually

Post by Cybermax »

dimesio wrote:FYI, experienced users usually keep apps in separate wineprefixes and simply delete the whole wineprefix when they want to get rid of something.
Well.. i would argue that goes for semi-experienced users. An experienced user would know how to use regedit and stuff to do most of that :)

But yeah, using multiple wineprefixes is a sound advice. Just dont make it a too quick and easy habit of clearing a wineprefix, cos suddenly you forgot you had that 60GB steam game installed in one of them :roll:
spoon0042
Level 6
Level 6
Posts: 570
Joined: Thu Dec 24, 2009 11:00 am

Re: Couldn't delete Software after deleting manually

Post by spoon0042 »

You mean you don't just link your steamapps dir somewhere? :mrgreen:
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Couldn't delete Software after deleting manually

Post by Bob Wya »

spoon0042 wrote:You mean you don't just link your steamapps dir somewhere? :mrgreen:
You don't have to link your steamapps directory anywhere - just use a big shared/ separate Steam library directory. 8)
Locked