GPG error: The following signatures couldn't be verified because the public key is not available解决方法

Linux如果使用国内的源,当使用apt安装或更新某些应用时,会返回错误提示:

GPG error: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B6733A7A07516CAD

解决方法:

//用错误提示中的公钥
sudo gpg --keyserver keyserver.ubuntu.com --recv B6733A7A07516CAD
sudo gpg --export --armor B6733A7A07516CAD | sudo apt-key add -
sudo apt-get update
原文地址:https://www.cnblogs.com/live41/p/14229099.html