1.报错背景将ubuntu的源修改为国内源的之后,执行sudo apt-get update报错: GPG error: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5523BAEEB01FA116 N:see apt-secure(8) manpage for repository creation and user 2.解决方案公钥(5523BAEEB01FA116)根据提示来写的。 sudo gpg --keyserver keyserver.ubuntu.com --recv 5523BAEEB01FA116 sudo gpg --export --armor 5523BAEEB01FA116 | sudo apt-key add - 3.验证
sudo apt-get update |