Beim Update bekomme ich Fehlermeldungen über einen fehlenden GPG public key und das Update bricht ab:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | $ sudo apt update Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease Get:2 https://apt.releases.hashicorp.com focal InRelease [18,0 kB] Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease ... Hit:6 http://archive.ubuntu.com/ubuntu focal-security InRelease Err:2 https://apt.releases.hashicorp.com focal InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AA16FCBCA621E701 Fetched 18,0 kB in 0s (46,0 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done 3 packages can be upgraded. Run 'apt list --upgradable' to see them. W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://apt.releases.hashicorp.com focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AA16FCBCA621E701 W: Failed to fetch https://apt.releases.hashicorp.com/dists/focal/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AA16FCBCA621E701 W: Some index files failed to download. They have been ignored, or old ones used instead. |
Wie kann ich den alten Schlüssel entfernen und den neuen installieren (und dabei auch überprüfen, Signaturfehler machen mich immer ein wenig nervös 😉 ?