Tento atualizar minha distribuição KDE Neon Linux Ubuntu 18.04 para uma mais recente, de preferência 22.04, mas quando executo sudo do-release-upgrade
ele me diz
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.
E quando executo sudo apt-get update
para atualizar todos os pacotes, ele falha com a seguinte saída
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.
Não foi possível encontrar uma solução específica para o meu problema. Alguém pode me indicar a direção certa?
Responder1
Parece que você perdeu a chave pública do wine. Certifique-se de ter um diretório /usr/share/keyrings primeiro.
Então tente isto:
sudo wget -nc -O /usr/share/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key