Ubuntu 更新源签名错误 –BADSIG 40976EAF437D05B5

错误提示:

GPG 错误:http://mirrors.163.com maverick-updates Release: 下列签名无效: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster @ubuntu.com> </ftpmaster>
 


修复方法

gpg --keyserver keyserver.ubuntu.com --recv 40976EAF437D05B5 


gpg --export --armor 40976EAF437D05B5 | sudo apt-key add -


上面的方法不行可以试试下面这个

sudo aptitude -o Acquire::http::No-Cache=True -o Acquire::BrokenProxy=true update



终极大法

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


以上方法来自:

http://forum.ubuntu.org

原文地址:https://www.cnblogs.com/dolphi/p/2407692.html