Howto fix W: GPG error: http://ppa.launchpad.net oneiric Release: The following signatures were invalid: BADSIG C2518248EEA14886 Launchpad?

January 20, 2012

Today I ran into the problem that my Ubuntu 11.10 (Oneiric) show following error message while trying apt-get update:


Fetched 16.3 MB in 34s (473 kB/s)


Reading package lists... Done
W: GPG error: http://ppa.launchpad.net oneiric Release: The following signatures were invalid: BADSIG C2518248EEA14886 Launchpad VLC
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://extras.ubuntu.com oneiric Release: The following signatures were invalid: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key

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

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

I did following to fix it. Maybe it helps you too.

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

18 Comments »

RSS feed for comments on this post. TrackBack URI

  1. Didn’t work for me. Still getting the same goddamn fucking error.

    Comment by 4113n — February 11, 2012 #

  2. guess smooth upgrades is not their thing, huh?

    thanks for solution.

    Comment by Henrik Stokseth — February 13, 2012 #

  3. Work for me ubunru 11.10.
    tnx 4 trik

    Comment by kapteo — March 28, 2012 #

  4. this worked perfection for me on Ubuntu 11.10. Thanks much!

    Comment by Jag — April 13, 2012 #

  5. That did the trick, thanks mate!

    Comment by mohh — April 26, 2012 #

  6. In my case, it frequently appears, again and again. First time there, I did the same things (apt-get clean; cd /var/lib/apt; etc.. etc..) and success.

    Several weeks later, the same error reappear. Trying to do the same steps, no avail.

    Is there any other solution for this Bad Signatures problem?

    Comment by Anung — May 7, 2012 #

  7. Sorry, I had it only once and I corrected it this way.

    Comment by robert — May 28, 2012 #

  8. Thanks. This works for me. 🙂

    Comment by yau — August 30, 2012 #

  9. Thanks to author for this solution. Me helped.

    Comment by Ruslan — September 16, 2012 #

  10. Reply to Anung: It seems sometimes the apt lists in /var/lib/apt/lists get corrupted, often because if you are behind a wireless router which auto-sends html “not logged in” pages in lieu of the requested text-file. Maybe that is your situation and it is why the problem keeps coming back. Such things happen when ISPs, etc decide to setup non-standard behaviour…

    Comment by Rowan Thorpe — October 10, 2012 #

  11. It also happens on hotspots with a captive portal.

    Comment by robert — October 10, 2012 #

  12. Worked perfect for me thanks !!!!

    Comment by zorro — November 4, 2012 #

  13. Gracias

    Comment by CherLUX — December 19, 2012 #

  14. perfect

    Comment by vwood — April 11, 2013 #

  15. very helpful
    thakns

    Comment by ed0 — April 2, 2014 #

  16. Very helpful
    thanks

    Comment by ed0 — April 2, 2014 #

  17. Thanks it worked for me

    Comment by Ian — October 12, 2014 #

  18. Worked for me.

    Comment by rafael bernard rodrigues araujo — February 26, 2015 #

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Powered by WordPress
Entries and comments feeds. Valid XHTML and CSS. 36 queries. 0.102 seconds.