Can't install Wine on Mint 18.1

Questions about Wine on Linux
Locked
PhilipJD
Newbie
Newbie
Posts: 3
Joined: Sun Apr 23, 2017 6:08 am

Can't install Wine on Mint 18.1

Post by PhilipJD »

So i decided to move from Windows to Linux because i was fed up with Microsoft stalking me and people around me said Linux Mint makes the transition really easy....
Thanks for the security questions when registering on this forum "Which of these distros uses .deb packages: Arch Linux, Mageia, Ubuntu, Slackware?" WTF man.

In Mint the package installer has Wine but in the comments someone said that you need to use the PPA installer for new versions.
I googled installing Wine 2.0 on Mint 18.1 which brought me to "sudo add-apt-repository ppa:wine/wine-builds"
This tells me "!!! PLEASE NOTE THAT THIS REPOSITORY IS DEPRECATED !!!"
So i follow the instructions:

wget https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
sudo apt-add-repository 'https://dl.winehq.org/wine-builds/ubuntu/'

sudo apt-get update
sudo apt-get install --install-recommends winehq-devel
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package winehq-devel

Okay, to the WineHQ WIKI:

wget https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/

Ah okay so no quotes around the repository url.

sudo apt-get update
sudo apt-get install --install-recommends winehq-devel
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package winehq-devel

Maybe the Stable version?

sudo apt-get install --install-recommends winehq-stable
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package winehq-stable

What am i doing wrong guys?
User avatar
Leopard
Level 2
Level 2
Posts: 36
Joined: Sun Apr 23, 2017 9:29 am

Re: Can't install Wine on Mint 18.1

Post by Leopard »

I have the exact same problem , i'm on Mint 18.1 too
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Can't install Wine on Mint 18.1

Post by Bob Wya »

Guys,

You need to use:

Code: Select all

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'
sudo apt-get update
sudo apt-get install --install-recommends winehq-devel
to work around a bug in Mint's repository URL handling...

See this recent WineHQ Forum post - Helicon Focus 6.7.1 Lite ... For more information.

Bob
PhilipJD
Newbie
Newbie
Posts: 3
Joined: Sun Apr 23, 2017 6:08 am

Re: Can't install Wine on Mint 18.1

Post by PhilipJD »

You sir are a savior and this info should be on the Wiki, even if it is a Mint issue.
PhilipJD
Newbie
Newbie
Posts: 3
Joined: Sun Apr 23, 2017 6:08 am

Re: Can't install Wine on Mint 18.1

Post by PhilipJD »

So this worked but now i have a new error because the old install is conflicting:

wine client error:0: version mismatch 525/527.

So i can't use winecfg and everything i am reading about uninstalling the old version means destorying all the install i did today (Steam, Battle.net., Origin and a bunch of games which actually work to my surprise).
Does anyone know how to fix this problem without destroying the installed windows stuff?
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: Can't install Wine on Mint 18.1

Post by dimesio »

this info should be on the Wiki, even if it is a Mint issue.
I've just added a note to the Ubuntu page.
everything i am reading about uninstalling the old version means destorying all the install i did
I don't know what "everything" you've been reading, but it's obviously not our FAQ. https://wiki.winehq.org/FAQ#How_do_I_uninstall_Wine.3F
Locked