Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Possible Duplicate:
What is the easiest way to resolve apt-get BADSIG GPG errors?

I recently updated my Chromebook that was running Ubuntu 11.04 to 11.10 and since updating, whenever I run apt-get update I get the following errors:

W: GPG error: http://security.ubuntu.com oneiric-security Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <[email protected]>
W: GPG error: http://extras.ubuntu.com oneiric Release: The following signatures were invalid: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key <[email protected]>
W: GPG error: http://us.archive.ubuntu.com oneiric Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <[email protected]>

The repositories look like they're the primary repositories for 11.10, so I am assuming that this is a pretty bad error. The rest of the update happens without any problems, it is just these three repos that error. Is there something that I can do about the bad signatures?

share|improve this question

marked as duplicate by hhlp, ajmitch, htorque, Jorge Castro, Takkat Nov 8 '11 at 9:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers 2

Found here

Here's the (easiest) solution:

Type the following commands in the Terminal:

$ sudo -i
# apt-get clean
# cd /var/lib/apt
# mv lists lists.old
# mkdir -p lists/partial
# apt-get clean
# apt-get update

Credits: ubuntugeek.com

share|improve this answer

There is a script that allowes you to obtain any missing GPG keys for your repositories. run the following commands in the terminal, one at a time:

sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install launchpad-getkeys

and then run sudo launchpad-getkeys

it will port to you all missing signatures. after that you will see no errors when updating the repos.

please see this post, and read it before. source : http://www.webupd8.org/2010/05/automatically-import-all-missing.html

share|improve this answer
    
I tried that but it didn't get the keys to fix my errors. I posted the solution that worked for me. –  Dave Long Nov 7 '11 at 18:33

Not the answer you're looking for? Browse other questions tagged or ask your own question.