https://bugs.winehq.org/show_bug.cgi?id=43100
Bug ID: 43100 Summary: Release key overwrite Product: Packaging Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-packages Assignee: wine-bugs@winehq.org Reporter: rebe@gmx.net CC: michael@fds-team.de, sebastian@fds-team.de Distribution: ---
I got the following error message from my package manager Synaptic:
"W: GPG-Fehler: https://dl.winehq.org/wine-builds/ubuntu xenial InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 818A435C5FCBF54A W: The repository 'https://dl.winehq.org/wine-builds/ubuntu xenial InRelease' is not signed."
I followed the instructions from the wine manual, however wget https://dl.winehq.org/wine-builds/Release.key
saved as Release.key.3 as the file was preexisting.
According to the wget manual: "When running Wget without ‘-N’, ‘-nc’, ‘-r’, or ‘-p’, downloading the same file in the same directory will result in the original copy of file being preserved and the second copy being named ‘file.1’. If that file is downloaded yet again, the third copy will be named ‘file.2’, and so on. "
I recommend to change the phrase in the documentation
https://wiki.winehq.org/Ubuntu
to:
wget -nc https://dl.winehq.org/wine-builds/Release.key
or rename the Release.key file as 818A435C5FCBF54A.key so there won't be any overlap with other release keys you previously downloaded. Furthermore it makes sense to delete the downloaded key after adding it successfully.