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?

Okay, usually I run an apt-get update and upgrade about once a day. Now suddenly it's telling me this:

Fetched 666 B in 6s (105 B/s)                                                  
W: GPG error: ttp://archive.canonical.com oneiric Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <[email protected]>
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: ttp://extras.ubuntu.com oneiric Release: The following signatures were invalid: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key <[email protected]>

W: GPG error: ttp://gb.archive.ubuntu.com oneiric Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <[email protected]>
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: ttp://gb.archive.ubuntu.com oneiric-backports Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <[email protected]>

W: Failed to fetch ttp://extras.ubuntu.com/ubuntu/dists/oneiric/Release  

W: Failed to fetch ttp://gb.archive.ubuntu.com/ubuntu/dists/oneiric-backports/Release  

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

Now, in all my time of using Ubuntu I have never seen this, so I am quite confused. Any help would be much appreciated.

Thankyou,

Ross

( I have taken out the leading (h) in http on purpose, due to link posting restrictions. )

share|improve this question

marked as duplicate by jrg May 5 '12 at 19:31

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.

3 Answers 3

It seems to be a bug. There is solution described which rebuilds the cache, see "Invalid signature for extras.ubuntu.com" and this worked for me.

share|improve this answer
1  
This just fixed it for me too –  monotasker Dec 24 '11 at 0:40
    
Helped me as well. –  ragu.pattabi Jul 10 '12 at 20:08

It has just started this morning happening again (2/12/11:12:00 GMT). I presume that something messed up the automatic signing process and it will be back when the next update is pushed through.

Stuart

share|improve this answer

I've had the same problem recently with es.archive.ubuntu.com and I agree with Stuart on that this is a temporary failure.

In the meantime, I suggest the following workaround:

  • Launch Software Sources
  • Select Main Server from the Download from dropdown list

That will change your sources from gb.archive.ubuntu.com to just archive.ubuntu.com wich should work fine. Alternatively, you can look at Other... and select another server in the UK.

share|improve this answer

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