Ubuntu – Ubuntu 19.04 can not install winehq-staging

19.04wine

How does one install winehq-staging on Ubuntu 19.04 given that winehq is full two days late on having a repository for disco dingo?

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ disco main'
Get:1 http://fr.archive.ubuntu.com/ubuntu disco InRelease [257 kB]
Hit:2 http://security.ubuntu.com/ubuntu disco-security InRelease               
Hit:3 http://ppa.launchpad.net/lutris-team/lutris/ubuntu disco InRelease       
Hit:4 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu disco InRelease    
Ign:5 https://dl.winehq.org/wine-builds/ubuntu disco InRelease                 
Err:6 https://dl.winehq.org/wine-builds/ubuntu disco Release
  404  Not Found [IP: 151.101.122.217 443]
Hit:7 http://fr.archive.ubuntu.com/ubuntu disco-updates InRelease
Hit:8 http://fr.archive.ubuntu.com/ubuntu disco-backports InRelease
Reading package lists... Done
E: The repository 'https://dl.winehq.org/wine-builds/ubuntu disco 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.

Best Answer

https://wiki.winehq.org/Ubuntu

stable version will work as expected, but if stagging is needed this is what I discovered, otherwise, I get unresolved dependency.

names and version do not match in the repository table, so for

Ubuntu 19.04 disco -> sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ cosmic main'

Ubuntu 18.04 bionic -> sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'

Related Question