0

I try to update my KDE Neon Linux Ubuntu 18.04 distribution to a newer one, preferably 22.04 but when I run sudo do-release-upgrade it tells me

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

And when I then run sudo apt-get update to update all packages it fails with the following output

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.

Couldn't find a specific solution for my problem, can someone point me in the right direction?

po.pe
  • 225

1 Answers1

1

Looks like you missing wine's public key. Make sure you have a /usr/share/keyrings directory first.

Then try this:

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