I'm getting this error when running apt update:
Err:3 cloud-sdk InRelease The following signatures were invalid: EXPKEYSIG 6A030B21BA07F4FB Google Cloud Packages Automatic Signing Key <> The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B57C5C2836F4BEBI tried some solutions like this, but it didn't work. Also I tried this and didn't work either:
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8B57C5C2836F4BEB
Executing: /tmp/apt-key-gpghome.mO2cvBYeEi/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 8B57C5C2836F4BEB
gpg: key 8B57C5C2836F4BEB: "gLinux Rapture Automatic Signing Key (//depot/google3/production/borg/cloud-rapture/keys/cloud-rapture-pubkeys/cloud-rapture-signing-key-2020-12-03-16_08_05.pub) <>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1and since I'm shooting in the dark anyway I tried this too:
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6A030B21BA07F4FB
Executing: /tmp/ --keyserver keyserver.ubuntu.com --recv-keys 6A030B21BA07F4FB
gpg: key 6A030B21BA07F4FB: "Google Cloud Packages Automatic Signing Key <>" 1 new signature
gpg: Total number processed: 1
gpg: new signatures: 1Did I do it wrong?
21 Answer
This fixed the problem for me:
curl | sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -This is the officially documented way to add the current key, as found e.g. on .
1