Fixing error with Google Chrome public key

Google Chrome
Google Chrome

Recently Google updated the key they use to sign Debian based Google Chrome releases and updates. Unfortunately this means that if you had it already installed before this change you were greeted with a not so nice error when you went to update your system:

An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com/linux/chrome/deb stable Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 6494C6D6997C215EFailed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 6494C6D6997C215ESome index files failed to download. They have been ignored, or old ones used instead.

Thankfully all we need to do to fix this is download the latest public key and we should be set. You can do this a number of different ways but the easiest is to simply use wget and pass it directly to apt:

wget -q -O – https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add –

Once the download is complete and the key added you shouldn’t see that error again the next time you go to update your system.



Be the first to comment

Leave a Reply

Your email address will not be published.


*