Dear list,
I tried to add wine-repo to the sources list, but debian will not recognize its key. Since apt-key is deprecated I did as recommended:
Logged in as root (I never use sudo)
- Then did the command
curl https://dl.winehq.org/wine-builds/winehq.key | gpg --dearmor > /usr/share/keyrings/winehq-archive-keyring.gpg
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3220 100 3220 0 0 18192 0 --:--:-- --:--:-- --:--:-- 18089
- Verified the key is in /usr/share/keyrings/
- added the repo
echo deb [signed-by=/usr/share/keyrings/winehq-archive-keyring.gpg] http://dl.winehq.org/wine-builds/debian/ bullseye main | tee /etc/apt/sources.list.d/
winehq.list
- checked the entry in /etc/apt/sources.list.d/winehq.list
deb [signed-by=/usr/share/keyrings/winehq-archive-keyring.gpg] http://dl.winehq.org/wine-builds/debian/ bullseye main
- as it looks all good, doing:
LANG=C apt update
Hit:11 https://linux.teamviewer.com/deb stable InRelease
Hit:12 https://deb.opera.com/opera-stable stable InRelease
Hit:13 http://inverse.ca/downloads/PacketFence/debian/11.3 bullseye InRelease
Err:4 http://dl.winehq.org/wine-builds/debian bullseye InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
Hit:14 https://www.kismetwireless.net/repos/apt/release/bullseye bullseye InRelease
Reading package lists... Done W: GPG error: http://dl.winehq.org/wine-builds/debian bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
E: The repository 'http://dl.winehq.org/wine-builds/debian bullseye InRelease' is not signed.
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.
I rechecked several times, but can not find, why the key is not recognized. The only reason I could imagine, that the key is orphaned. But then the doku of wine on its site is also orphaned.
What did I miss? Any ideas?
Best regards
Hans