0

Every time I try to uninstall wine I get this:

Command line screenshot

I used winehq to install it. https://wiki.winehq.org/Ubuntu

Melebius
  • 11,431
  • 9
  • 52
  • 78

1 Answers1

5

As you can see from the wiki page you linked, the name of the package is not wine, choose one of the three package names that are listed and your command will likely work better:

  • winehq-stable
  • winehq-devel
  • winehq-staging

Or just try: sudo apt-get purge winehq*

You can then also run sudo apt-get autoremove to clean up.

pzkpfw
  • 5,632
  • Thanks so much! I've spent all day trying to figure this out. I can't believe I didn't try that. – Tyler Labbe Aug 11 '17 at 01:18
  • No problem :) please mark this as an answer if it solved your issue. Cheers – pzkpfw Aug 11 '17 at 01:21
  • I also found it necessary to update my sources list sudo vi /etc/apt/sources.list and I removed the gpg key following these steps: https://askubuntu.com/questions/604988/how-to-remove-a-apt-key-which-i-have-added – geneorama Jan 02 '19 at 22:13