ubuntu更换源后报错:W: GPG error: (转载)

From:http://www.njava.com/njava-626.html

更换163源后,更新源时出现错误。

# apt-get update
W: GPG error: http://extras.ubuntu.com precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192

使用google查询到的解决方法:

$ gpg --keyserver keyserver.ubuntu.com --recv 3E5C1192
$ gpg --export --armor 3E5C1192 | sudo apt-key add -
$ sudo apt-get update

问题解决。

posted @ 2014-02-21 16:42  泉水叮~咚  阅读(1485)  评论(0)    收藏  举报