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