Ubuntu Err :18 http://dl.google.com/linux/chrome/deb stable Release.gpg KEYEXPIRED 1555048520

Since this morning I have this error

Err :18 http://dl.google.com/linux/chrome/deb stable Release.gpg The following signatures are not valid : KEYEXPIRED 1555048520 KEYEXPIRED 1555048520 KEYEXPIRED 1555048520 KEYEXPIRED 1555048520

when I'm running

sudo apt-get update -y

I searched some solutions but I didn't find the good one on google so ... I'm here


Solution 1:

This is an ongoing problem that only seems to hit Google Chrome. In order to avoid seeing warnings, one can temporarily turn off the repository for GC.

Solution 2:

To get rid of the problem (temporary) use --allow-unauthenticated in the apt command and wait until google fix the signing key.

You can check it from time to time by calling

curl 'https://dl.google.com/linux/linux_signing_key.pub' | gpg