website: apt-key is deprecated

Alexandre Julliard julliard at winehq.org
Tue Apr 5 11:04:41 CDT 2022


Floris Renaud <jkfloris at dds.nl> writes:

> 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?

If we want to do this, the files should be generated from the obs-sync
script [1], like other similar files.

[1] https://source.winehq.org/git/tools.git/blob/HEAD:/packaging/obs/obs-sync

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list