标签:bsp server code clean release apt ror follow 开发
用apt-get命令安装开发软件非常方便,但由于各种原因,经常链接不上软件源,于是需要使用sudo apt-get update命令来更新软件源。
而屋漏偏逢连夜雨,这时候更新命令也罢工,出现各种错误。。。
执行sudo apt-get update,出现下面两个错误。
W: GPG error: http://cran.cnr.berkeley.edu precise/ Release: The following signatures couldn‘t be verified because the public key is not available: NO_PUBKEY 51716619E084DAB9
W: GPG error: http://ppa.launchpad.net precise Release: The following signatures were invalid: BADSIG 1E9377A2BA9EF27F Launchpad Toolchain builds
解决办法:
第一个,
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 51716619E084DAB9
第二个,
sudo apt-get clean cd /var/lib/apt sudo mv lists lists.old sudo mkdir -p lists/partial sudo apt-get clean sudo apt-get update
标签:bsp server code clean release apt ror follow 开发
原文地址:http://www.cnblogs.com/Hanuman/p/7079628.html