Unable to install WINE 6 in Ubuntu 21.04

Questions about Wine on Linux
Locked
rquint
Level 1
Level 1
Posts: 9
Joined: Tue Jun 16, 2020 6:32 pm

Unable to install WINE 6 in Ubuntu 21.04

Post by rquint »

I'm having trouble installing WINE 6 on a fresh install of Ubuntu 21.04.
This is a test bed to get ready for a full install later. So far
I've installed Ubuntu 21.04 in a VirtualBox and installed some
Gnome extensions, modified a few settings through Gnome Tweaks and
installed synaptic. I then tried to install WINE following the directions at

https://wiki.winehq.org/Ubuntu

Here is a transcript of my effort:

#################################################################################


rquint@Polly:~$ sudo dpkg --add-architecture i386
[sudo] password for rquint:
rquint@Polly:~$ wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
--2021-04-26 08:56:59-- https://dl.winehq.org/wine-builds/winehq.key
Resolving dl.winehq.org (dl.winehq.org)... 151.101.198.217
Connecting to dl.winehq.org (dl.winehq.org)|151.101.198.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 0.001s

2021-04-26 08:56:59 (2.67 MB/s) - ‘winehq.key’ saved [3220/3220]

Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK
rquint@Polly:~$ sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ hirsute main'
Repository: 'deb https://dl.winehq.org/wine-builds/ubuntu/ hirsute main'
Description:
Archive for codename: hirsute components: main
More info: https://dl.winehq.org/wine-builds/ubuntu/
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.
Adding deb entry to /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-hirsute.list
Adding disabled deb-src entry to /etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-hirsute.list
Get:1 https://dl.winehq.org/wine-builds/ubuntu hirsute InRelease [6,261 B]
Hit:2 http://us.archive.ubuntu.com/ubuntu hirsute InRelease
Get:3 http://us.archive.ubuntu.com/ubuntu hirsute-updates InRelease [109 kB]
Get:4 http://security.ubuntu.com/ubuntu hirsute-security InRelease [101 kB]
Get:5 https://dl.winehq.org/wine-builds/ubuntu hirsute/main amd64 Packages [8,108 B]
Get:6 https://dl.winehq.org/wine-builds/ubuntu hirsute/main i386 Packages [8,192 B]
Hit:7 http://us.archive.ubuntu.com/ubuntu hirsute-backports InRelease
Fetched 232 kB in 1s (239 kB/s)
Reading package lists... Done
rquint@Polly:~$ sudo apt update
Hit:1 https://dl.winehq.org/wine-builds/ubuntu hirsute InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu hirsute InRelease
Get:3 http://us.archive.ubuntu.com/ubuntu hirsute-updates InRelease [109 kB]
Get:4 http://security.ubuntu.com/ubuntu hirsute-security InRelease [101 kB]
Hit:5 http://us.archive.ubuntu.com/ubuntu hirsute-backports InRelease
Fetched 209 kB in 1s (208 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
rquint@Polly:~$ sudo apt install --install-recommends winehq-stable
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package winehq-stable
rquint@Polly:~$


###############################################################################################

Although nothing had been added to /etc/apt/sources.list, there was a new file

/etc/apt/sources.list.d/archive_uri-https_dl_winehq_org_wine-builds_ubuntu_-hirsute.list

containing the lines

deb https://dl.winehq.org/wine-builds/ubuntu/ hirsute main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ hirsute main

and Software & Updates|Other Software contained a checked entry for

https://dl.winehq.org/wine-builds/ubuntu/hirsute main

However, a search in synaptic didn't show any entries for winehq-stable.

I'm out of my depth at this point. On my production PC I'm running Ubuntu 20.04
and WINE 5.0-3ubuntu1 without any real problems. I assume I can install that in 21.04,
but would like to try the newer version to solve a small problem with Greek fonts
in an old Windows 3.1 program.
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: Unable to install WINE 6 in Ubuntu 21.04

Post by dimesio »

21.04 had not yet been released when Wine 6.0 came out, so there is no stable package for it in our repository yet. There will be one whenever 6.0.1 is released. There are packages for the development and staging branches.
rquint
Level 1
Level 1
Posts: 9
Joined: Tue Jun 16, 2020 6:32 pm

Re: Unable to install WINE 6 in Ubuntu 21.04

Post by rquint »

Thanks for the explanation. I'll hold off experimenting until 6.0.1 is released.
Locked