Ubuntu 16.04.2执行 sudo apt-get update 。警告如下:W: 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 6494C6D6997C215E
报错原因是:google chrome 改变了linux的key仓库。
解决办法:执行下面语句即可。
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
解决后的效果图: