website: apt-key is deprecated

Floris Renaud jkfloris at dds.nl
Tue Apr 5 10:49:12 CDT 2022


Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52439

On April 21, 2022, Ubuntu Jammy Jellyfish will be released. On this version 
of Ubuntu, it is no longer possible to add the Winehq key through apt-key. 
This is also no longer possible on Debian Bookworm.
To make the installation of Wine on the different Ubuntu and Debian 
distributions the same, the idea is to switch to .sources files. This will 
allow the WineHQ repository to be added with:

Download and install the key:
   wget -nc https://dl.winehq.org/wine-builds/winehq.key
   sudo mv winehq.key /usr/share/keyrings/winehq-archive.key

Download and install the sources file for your distro, for example bookworm
   wget -nc https://dl.winehq.org/wine-builds/winehq-bookworm.sources
   sudo mv winehq-bookworm.sources /etc/apt/sources.list.d/

Where winehq-bookworm.sources contains the following:

Types: deb
URIs: https://dl.winehq.org/wine-builds/debian
Suites: bookworm
Components: main
Architectures: amd64 i386
Signed-By: /usr/share/keyrings/winehq-archive.key

In the future (starting with apt version 2.3.10), this approach also makes 
it possible to embed the winehq key in the .sources file.
Attached are the sources files for the supported Debian and Ubuntu versions 
and already for Ubuntu Jammy.

Can these files be uploaded to dl.winehq.org?

Floris 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winehq-jammy.sources
Type: application/octet-stream
Size: 165 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20220405/e02de77e/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winehq-impish.sources
Type: application/octet-stream
Size: 166 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20220405/e02de77e/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winehq-focal.sources
Type: application/octet-stream
Size: 165 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20220405/e02de77e/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winehq-bionic.sources
Type: application/octet-stream
Size: 166 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20220405/e02de77e/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winehq-bookworm.sources
Type: application/octet-stream
Size: 168 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20220405/e02de77e/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winehq-buster.sources
Type: application/octet-stream
Size: 167 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20220405/e02de77e/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winehq-bullseye.sources
Type: application/octet-stream
Size: 169 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20220405/e02de77e/attachment-0006.obj>


More information about the wine-devel mailing list