KDE Neon 18.04 で apt-get アップグレードが失敗する

KDE Neon 18.04 で apt-get アップグレードが失敗する

KDE Neon Linux Ubuntu 18.04ディストリビューションを新しいもの、できれば22.04にアップデートしようとしましたが、実行するsudo do-release-upgrade

Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.

そして、すべてのパッケージを更新するために実行すると、sudo apt-get update次の出力で失敗します。

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.

私の問題に対する具体的な解決策が見つかりませんでした。誰か私に正しい方向を指し示してもらえますか?

答え1

Wine の公開鍵が見つからないようです。まず、/usr/share/keyrings ディレクトリがあることを確認してください。

次にこれを試してください:

sudo wget -nc -O /usr/share/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key

関連情報