When attempting to install Wine, Terminal answers about the wrong path:
E: Unable to locate package winehq-stable
BUT it was installed:
anatoly@anatoly-desktop:~$ sudo apt install --install-recommends winehq-stable
Reading package lists... Done
Please how to tell Terminal to go to its place?
anatoly@anatoly-desktop:~$ wget -nc https://dl.winehq.org/wine-builds/winehq.key
--2019-02-28 11:00:11-- https://dl.winehq.org/wine-builds/winehq.key
Resolving dl.winehq.org (dl.winehq.org)... 151.101.14.217
Connecting to dl.winehq.org (dl.winehq.org)|151.101.14.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
2019-02-28 11:00:12 (13.4 MB/s) - ‘winehq.key’ saved [3220/3220]
anatoly@anatoly-desktop:~$ sudo apt-key add winehq.key
[sudo] password for anatoly:
OK
anatoly@anatoly-desktop:~$ sudo apt update
Hit:1 http://il.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://il.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://il.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
270 packages can be upgraded. Run 'apt list --upgradable' to see them.
anatoly@anatoly-desktop:~$ 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
anatoly@anatoly-desktop:~$
winehq-stable
is not in the Ubuntu repositories. OP should switch to an up-to-date mirror though.