ubuntu下许多软件的最新版往往需要使用ppa源才能获得,但是前一阵子我用ppa源更新时却弹出了一些警告信息,比如:
W: GPG error: http://ppa.launchpad.net
intrepid Release: The following signatures couldn’t be verified because
the public key is not available: NO_PUBKEY 6AF0E1940624A220
W: GPG error: http://ppa.launchpad.net
intrepid Release: The following signatures couldn’t be verified because
the public key is not available: NO_PUBKEY 6AF0E1940624A220
W: GPG error: http://ppa.launchpad.net
intrepid Release: The following signatures couldn’t be verified because
the public key is not available: NO_PUBKEY 778978B00F7992B0
intrepid Release: The following signatures couldn’t be verified because
the public key is not available: NO_PUBKEY 778978B00F7992B0
W: GPG error: http://ppa.launchpad.net
intrepid Release: The following signatures couldn’t be verified because
the public key is not available: NO_PUBKEY 4874D3686E80C6B7
intrepid Release: The following signatures couldn’t be verified because
the public key is not available: NO_PUBKEY 4874D3686E80C6B7
W: GPG error: http://ppa.launchpad.net
intrepid Release: The following signatures couldn’t be verified because
the public key is not available: NO_PUBKEY 60D11217247D1CFF
intrepid Release: The following signatures couldn’t be verified because
the public key is not available: NO_PUBKEY 60D11217247D1CFF
W: GPG error: http://ppa.launchpad.net
intrepid Release: The following signatures couldn’t be verified because
the public key is not available: NO_PUBKEY 632D16BB0C713DA6
intrepid Release: The following signatures couldn’t be verified because
the public key is not available: NO_PUBKEY 632D16BB0C713DA6
W: GPG error: http://ppa.launchpad.net
intrepid Release: The following signatures couldn’t be verified because
the public key is not available: NO_PUBKEY 665F9AEFE1098513
等等这些问题,最近查阅了资料,在网上找到了相关的解决办法,方法如下:
intrepid Release: The following signatures couldn’t be verified because
the public key is not available: NO_PUBKEY 665F9AEFE1098513
等等这些问题,最近查阅了资料,在网上找到了相关的解决办法,方法如下:
打开终端,在终端中如下操作:
第一步,输入命令: gpg –keyserver keyserver.ubuntu.com –recv 60D11217247D1CFF
注意:60D11217247D1CFF是我举的例子,你自己可根据你自己的提示,将自己缺少的那种公钥复制过去
第二步,然后输入命令:gpg –export –armor 60D11217247D1CFF | sudo apt-key add –
注:这里的60D11217247D1CFF同上面提示,需要改成你自己缺少的那种公钥
第三步,重新更新,这是你会发现上面的烦人的警告没有了,ubuntu可以正常使用了
我实际测试通过,确实如此,如果有人同样用ubuntu或debian有相同的问题,可参考此方法。
No comments:
Post a Comment