Error NO_PUBKEY in Google Cloud Debian Packages Update

Posted on November 29, 2021 at 1:01 pm

If you get the following errors with apt-get update:

Err:6 http://packages.cloud.google.com/apt cloud-sdk-stretch InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FEEA9169307EA071 NO_PUBKEY 8B57C5C2836F4BEB
Err:8 http://packages.cloud.google.com/apt google-compute-engine-stretch-stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FEEA9169307EA071 NO_PUBKEY 8B57C5C2836F4BEB
Err:10 http://packages.cloud.google.com/apt google-cloud-packages-archive-keyring-stretch InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FEEA9169307EA071 NO_PUBKEY 8B57C5C2836F4BEB

Then just type this:

curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -

Run again apt-get update and it should work.

Receive updates via email

Other Posts

Updated Posts