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

와인의 공개 키가 누락된 것 같습니다. 먼저 /usr/share/keyrings 디렉토리가 있는지 확인하세요.

그런 다음 다음을 시도하십시오.

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

관련 정보