IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> 修正 apt 的 校验签名出错 错误, How fix repository signature verification issues
猫猫草
post 2012-10-15 17:24:49, Mon
Post #1


猫猫猫
***

Group: Power Cat
Posts: 626
Joined: 2006-12-8
Member No.: 2



Error Message:

代码
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.ubuntu.com natty-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/natty-updates/Release

W: Some index files failed to download. They have been ignored, or old ones used instead.


Fix Step 1:

代码
$ sudo apt-get clean

$ cd /var/lib/apt

$ sudo mv lists lists.old

$ sudo mkdir -p lists/partial

$ sudo apt-get clean


If still getting error like :
代码
W: GPG error: http://archive.ubuntu.com natty-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key


Fix step 2 :
代码
$ sudo apt-get clean

$ sudo aptitude -o Acquire::http::No-Cache=True -o Acquire::BrokenProxy=true update
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 2024-10-17 07:25