Having trouble downloading wine for ubuntu

Questions about Wine on Linux
Post Reply
fargodwe
Level 4
Level 4
Posts: 145
Joined: Mon Oct 02, 2017 7:08 am

Having trouble downloading wine for ubuntu

Post by fargodwe » Thu Jan 30, 2020 5:42 pm

I had to reset my PC so I'm trying to reinstall wine on linux mint 18.3. I followed the instuctions on winehq for ubuntu. It says it can't find the wine stable or development. Console log:

Code: Select all

dave@dave-Aleena ~ $ sudo dpkg --add-architecture i386 
[sudo] password for dave: 
dave@dave-Aleena ~ $ wget -nc https://dl.winehq.org/wine-builds/winehq.key
--2020-01-30 16:31:28--  https://dl.winehq.org/wine-builds/winehq.key
Resolving dl.winehq.org (dl.winehq.org)... 151.101.130.217, 151.101.194.217, 151.101.2.217, ...
Connecting to dl.winehq.org (dl.winehq.org)|151.101.130.217|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3220 (3.1K) [application/pgp-keys]
Saving to: ‘winehq.key’

winehq.key          100%[===================>]   3.14K  --.-KB/s    in 0s      

2020-01-30 16:31:29 (19.6 MB/s) - ‘winehq.key’ saved [3220/3220]

dave@dave-Aleena ~ $ sudo apt-key add winehq.key
OK
dave@dave-Aleena ~ $  sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main' 
dave@dave-Aleena ~ $ sudo apt install --install-recommends winehq-stable
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package winehq-stable
dave@dave-Aleena ~ $ sudo apt install --install-recommends winehq-stable
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package winehq-stable
dave@dave-Aleena ~ $ sudo apt install --install-recommends winehq-devel
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package winehq-devel
dave@dave-Aleena ~ $ 

User avatar
dimesio
Moderator
Moderator
Posts: 12752
Joined: Tue Mar 25, 2008 10:30 pm

Re: Having trouble downloading wine for ubuntu

Post by dimesio » Fri Jan 31, 2020 6:53 am

You forgot to do sudo apt update after adding the repository.

fargodwe
Level 4
Level 4
Posts: 145
Joined: Mon Oct 02, 2017 7:08 am

Re: Having trouble downloading wine for ubuntu

Post by fargodwe » Fri Jan 31, 2020 7:09 pm

Oh dang! I was trying to be so careful copying and pasting but I sure messed up! Of course without the update it would never know about it.

Thanks from a dumb guy!

Post Reply