Ubuntu 16.04.2执行 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 78BD65473CB3BD13
报错原因是:google chrome 改变了linux的key仓库
解决方法:
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
然后执行apt-get update
添加llvm源后执行apt-get update 出现GPG error
解决方法:
wget -q -O - http://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
apt-get update
参考链接: https://blog.csdn.net/zl544434558/article/details/76810555