Ich versuche, meine KDE Neon Linux Ubuntu 18.04-Distribution auf eine neuere zu aktualisieren, vorzugsweise 22.04, aber wenn ich sudo do-release-upgrade
es ausführe, wird mir angezeigt
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.
Und wenn ich dann sudo apt-get update
alle Pakete aktualisiere, schlägt es mit der folgenden Ausgabe fehl
Get:10 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease [6'263 B]
Err:10 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
Reading package lists... Done
W: GPG error: https://dl.winehq.org/wine-builds/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
E: The repository 'https://dl.winehq.org/wine-builds/ubuntu bionic 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.
Ich konnte keine konkrete Lösung für mein Problem finden. Kann mir jemand weiterhelfen?
Antwort1
Sieht so aus, als ob Ihnen der öffentliche Schlüssel von Wine fehlt. Stellen Sie zunächst sicher, dass Sie ein Verzeichnis /usr/share/keyrings haben.
Versuchen Sie dann Folgendes:
sudo wget -nc -O /usr/share/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key