The following signatures couldn‘t be verified because the public key is not available: NO_PUBKEY

现象:

sudo apt update 时报如下错误

The following signatures couldn‘t be verified because the public key is not available: NO_PUBKEY

 

解决方法:

sudo gpg --keyserver keyserver.ubuntu.com --recv 648ACFD622F3D138//(这个公钥根据提示来写的)
sudo gpg --export --armor 648ACFD622F3D138| sudo apt-key add -
sudo apt-get update
上一篇:手把手教你提交Jar包到Maven公共仓库 | 萌新写开源02


下一篇:ubuntu添加源报错The following signatures couldn't be verified because the public key is not availabl