The repository 'https://dl.winehq.org/wine-builds/ubuntu xenial Release' does not have a Release file.

Questions about Wine on Linux
Locked
araar128
Newbie
Newbie
Posts: 1
Joined: Tue Oct 08, 2019 7:04 am

The repository 'https://dl.winehq.org/wine-builds/ubuntu xenial Release' does not have a Release file.

Post by araar128 »

I running Ubuntu 16.04 (xenial) and am trying to install wine using the following step:

- sudo dpkg --add-architecture i386
- wget -nc https://dl.winehq.org/wine-builds/winehq.key
- sudo apt-key add winehq.key

- Adding the repository to /etc/apt/sources.list so the last lines read …
deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ xenial main

But when I do the sudo apt update I get …

Ign:1 https://dl.winehq.org/wine-builds/ubuntu xenial InRelease
Err:2 https://dl.winehq.org/wine-builds/ubuntu xenial Release

Hit:3 http://au.archive.ubuntu.com/ubuntu xenial InRelease
Hit:4 http://au.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:5 http://au.archive.ubuntu.com/ubuntu xenial-backports InRelease
.
.
.
Get:18 http://security.ubuntu.com/ubuntu xenial-security/multiverse i386 DEP-11 Metadata [2,464 B]
Reading package lists... Done
E: The repository 'https://dl.winehq.org/wine-builds/ubuntu xenial Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

But I can get the Release file using :
wget https://dl.winehq.org/wine-builds/ubuntu/dists/xenial/Release
it find the Release file OK …

Connecting to dl.winehq.org (dl.winehq.org)|151.101.82.217|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5519 (5.4K)
Saving to: 'Release’

Release 100%[=====================================================================================================================>] 5.39K --.-KB/s in 0s

2019-10-08 23:25:30 (18.5 MB/s) - 'Release’ saved [5519/5519]

… so am struggling to understand what I am doing wrong. Appreciate any advice :D .
-
Locked