[转载]解决更新时签名错误的几种方法(BADSIG 40976EAF437D05B5
全文:http://forum.ubuntu.org.cn/viewtopic.php?f=52&t=245218
如果是没有公钥的,看这个帖子。
http://forum.ubuntu.org.cn/viewtopic.php?t=27006
症状: 代码: sudo apt-get update W: GPG error: http://apt.tt-solutions.com dapper Release: 由于没有公钥,下列签名无法进行验证: NO_PUBKEY 06EA41DE4F6C1E86 解决方法: 代码: gpg --keyserver subkeys.pgp.net --recv 4F6C1E86 gpg --export --armor 4F6C1E86 | sudo apt-key add - 说明: 若缺少其他公钥,则将命令中两处4F6C1E86改为NO_PUBKEY 06EA41DE4F6C1E86中最后8位即可! 如果是Ubuntu PPA的 代码: sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com
下面讨论签名错误的解决方法,是从bug报告中整理出来的
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/24061
Run the following commands(saves a backup of the old lists and creates a new lists folder) and the BADSIG error does not occur : $ cd /var/lib/apt $ sudo mv lists lists.old $ sudo mkdir -p lists/partial $ sudo apt-get update

浙公网安备 33010602011771号