Ubuntu GPG key expired error - jinwooklim/my-exp GitHub Wiki
Reference
ubuntu 18.04 ์์ package update๋ฅผ ํ๋ ์ค, ์์ ์ ์ค์นํ kubernetes-xenial ๋ถ๋ถ์์ key error๊ฐ ๋ฐ์ํ๋ค.
๋ฐ๋ผ์, ์ด๋ฅผ ๊ฒฐํ ๋ฐฉ๋ฒ์ด๋ค.
Error
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used.
GPG error: 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 8B57C5C2836F4BEB NO_PUBKEY FEEA9169307EA071
W: Failed to fetch http://apt.kubernetes.io/dists/kubernetes-xenial/InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B57C5C2836F4BEB NO_PUBKEY FEEA9169307EA071
W: Some index files failed to download. They have been ignored, or old ones used instead.
or
W: An error occurred during the signature verification.
The repository is not updated and the previous index files will be used.
GPG error: http://packages.cloud.google.com/apt cloud-sdk-stretch InRelease:
The following signatures were invalid: EXPKEYSIG 3746C208A7317B0F
Google Cloud Packages Automatic Signing Key <[email protected]>
Solution
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -