You are not logged in.

#1 2020-03-31 19:52:30

Star1322
Member
Registered: 2020-03-31
Posts: 2

[SOLVED] Can't uninstall or reinstall wine

So I was installing wine and my computer randomly shut down half way through and I booted it back up the wine command was being registered into the terminal but was giving an error so I tried uninstalling it with "sudo pacman -R wine" and it said it completed the process. I tried downloading wine again with "sudo pacman -S wine" but it gives an error showing that a lot of files are still there. When I try to remove wine again it can't find wine even when I try to install it. (Can't post the exact error text since it's in turkish, I apologise.)

Last edited by Star1322 (2020-03-31 20:03:49)

Offline

#2 2020-03-31 19:59:18

loqs
Member
Registered: 2014-03-06
Posts: 19,086

Re: [SOLVED] Can't uninstall or reinstall wine

pacman -S --dbonly wine
pacman -S wine

The first command updates the pacman database so it tracks files provided by wine,  the second reinstalls wine to ensure it was not corrupted.

Last edited by loqs (2020-03-31 20:01:24)

Offline

#3 2020-03-31 19:59:37

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,522
Website

Re: [SOLVED] Can't uninstall or reinstall wine

Star1322 wrote:

(Can't post the exact error text since it's in turkish, I apologise.)

Yes you can


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2020-03-31 20:03:16

Star1322
Member
Registered: 2020-03-31
Posts: 2

Re: [SOLVED] Can't uninstall or reinstall wine

loqs wrote:
pacman -S --dbonly wine
pacman -S wine

The first command updates the pacman database so it tracks files provided by wine,  the second reinstalls wine to ensure it was not corrupted.

Tried it and seems to have fixed it. Thank you kind sir.

Offline

Board footer

Powered by FluxBB