Ubuntu tips and tricks

From HPCWIKI
Revision as of 13:42, 15 June 2023 by Admin (talk | contribs) (Created page with "== apt-get update “the following signatures couldn’t be verified because the public key is not available” == <syntaxhighlight lang="bash"> $ sudo apt update Err:5 https://packages.cloud.google.com/apt kubernetes-xenial InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B53DC80D13EDEF05 #need to add the missing Key B53DC80D13EDEF05 $sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B53DC80D13ED...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

apt-get update “the following signatures couldn’t be verified because the public key is not available”

$ sudo apt update
Err:5 https://packages.cloud.google.com/apt kubernetes-xenial InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B53DC80D13EDEF05
  
#need to add the missing Key B53DC80D13EDEF05
$sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B53DC80D13EDEF05
Executing: /tmp/apt-key-gpghome.xfmtcCbrXz/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys B53DC80D13EDEF05
gpg: key B53DC80D13EDEF05: 1 duplicate signature removed
gpg: key B53DC80D13EDEF05: public key "Rapture Automatic Signing Key (cloud-rapture-signing-key-2022-03-07-08_01_01.pub)" imported
gpg: Total number processed: 1
gpg:               imported: 1

#now update will be successful

References