Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GPG error: http://packages.cloud.google.com/apt EXPKEYSIG 3746C208A7317B0F [closed]

I get the following error when running sudo apt update on Debian.

GPG error: http://packages.cloud.google.com/apt cloud-sdk-stretch InRelease:
The following signatures were invalid: EXPKEYSIG 3746C208A7317B0F
like image 699
dwightjl Avatar asked Mar 30 '18 23:03

dwightjl


1 Answers

This is a known issue.

https://cloud.google.com/compute/docs/troubleshooting/known-issues#keyexpired

Run the following command to obtain the latest key:

wget https://packages.cloud.google.com/apt/doc/apt-key.gpg \
    && apt-key add apt-key.gpg

or

curl -O https://packages.cloud.google.com/apt/doc/apt-key.gpg \
    && apt-key add apt-key.gpg

or.. if you like it simple without extraneous files and are feeling adventurous:

curl -f https://packages.cloud.google.com/apt/doc/apt-key.gpg \
    | sudo apt-key add -
like image 158
dwightjl Avatar answered Nov 04 '22 13:11

dwightjl