概述
apt-get update
出现The following signatures couldn't be verified because the public key is not available
错误,则需要手动添加key
解决方案
执行以下命令:(B02C46DF417A0893
替换为报错信息中显示的值)
1 | sudo gpg --keyserver keyserver.ubuntu.com --recv B02C46DF417A0893 |
参考
解决GPG error: The following signatures couldn’t be verified because the public key is not available