[SOLVED][UBUNTU] BADSIG 40976EAF437D05B5

I have been encountering this problem since a long:

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/ maverick Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>

W: GPG error: http://ppa.launchpad.net/ lucid Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 4D17133CFC5D50C5
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/maverick/Release

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

Type the following in you terminal:

sudo aptitude -o Acquire::http::No-Cache=True -o Acquire::BrokenProxy=true update

And then:

sudo apt-get update

And this will surely help you guys.

Related posts

Comments

  1. Bob-El says:

    Thanks my friend is grateful to you

  2. njadaan says:

    Many thanks man it works great! :)

  3. Max says:

    It didn’t work for me. I have tried several ways and still get the following errors:

    W: GPG error: http://archive.canonical.com lucid Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key
    W: GPG error: http://archive.getdeb.net lucid-getdeb Release: The following signatures were invalid: BADSIG A8A515F046D7E7CF GetDeb Archive Automatic Signing Key

    I wonder if it has to do with proxi settings…

  4. Charles says:

    I am using 8.04 on a desktop at home. The error text below may be harmless . You judge please .
    ****************************************
    I got this error after an Adobe Flash Plugin update from Ubuntu today:
    W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://za.archive.ubuntu.com lucid-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key

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

    W: Some index files failed to download, they have been ignored, or old ones used instead.
    ***************************************************
    Launchpad search found this :
    [SOLVED][UBUNTU] BADSIG 40976EAF437D05B5 posted June 18th, 2010 | Author: admin
    ****************************
    I ran his command in terminal and got this:
    chas@chas-desktop:~$ sudo aptitude -o Acquire::http::No-Cache=True -o Acquire::BrokenProxy=true update
    [sudo] password for chas:
    Writing extended state information… Done
    Ign cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ – Release i386 (20100427.1)/ lucid/main Translation-en_ZA
    Ign cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ – Release i386 (20100427.1)/ lucid/restricted Translation-en_ZA
    Hit http://za.archive.ubuntu.com lucid Release.gpg
    Hit http://security.ubuntu.com lucid-security Release.gpg
    Ign http://za.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_ZA
    Ign http://za.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-en_ZA
    Hit http://archive.canonical.com lucid Release.gpg
    Ign http://za.archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_ZA
    Ign http://za.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-en_ZA
    Get:1 http://za.archive.ubuntu.com lucid-updates Release.gpg [198B]
    Ign http://za.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-en_ZA
    Ign http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-en_ZA
    Ign http://za.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-en_ZA
    Ign http://za.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-en_ZA
    Ign http://za.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-en_ZA
    Ign http://archive.canonical.com/ubuntu/ lucid/partner Translation-en_ZA
    Ign http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-en_ZA
    Ign http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_ZA
    Hit http://za.archive.ubuntu.com lucid Release
    Hit http://archive.canonical.com lucid Release
    Ign http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-en_ZA
    Get:2 http://za.archive.ubuntu.com lucid-updates Release [44.7kB]
    Err http://za.archive.ubuntu.com lucid-updates Release

    Hit http://za.archive.ubuntu.com lucid/main Packages
    Hit http://security.ubuntu.com lucid-security Release
    Hit http://archive.canonical.com lucid/partner Packages
    Hit http://za.archive.ubuntu.com lucid/restricted Packages
    Hit http://za.archive.ubuntu.com lucid/universe Packages
    Hit http://security.ubuntu.com lucid-security/main Packages
    Hit http://za.archive.ubuntu.com lucid/multiverse Packages
    Hit http://security.ubuntu.com lucid-security/restricted Packages
    Hit http://security.ubuntu.com lucid-security/universe Packages
    Hit http://security.ubuntu.com lucid-security/multiverse Packages
    Fetched 199B in 5s (37B/s)
    Reading package lists… Done
    W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://za.archive.ubuntu.com lucid-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key
    ********************************
    I also ran his second command and got this :
    chas@chas-desktop:~$ sudo apt-get update
    Ign cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ – Release i386 (20100427.1)/ lucid/main Translation-en_ZA
    Ign cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ – Release i386 (20100427.1)/ lucid/restricted Translation-en_ZA
    Hit http://za.archive.ubuntu.com lucid Release.gpg
    Get:1 http://security.ubuntu.com lucid-security Release.gpg [198B]
    Ign http://za.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_ZA
    Ign http://za.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-en_ZA
    Ign http://za.archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_ZA
    Ign http://za.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-en_ZA
    Get:2 http://za.archive.ubuntu.com lucid-updates Release.gpg [198B]
    Ign http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-en_ZA
    Ign http://za.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-en_ZA
    Ign http://za.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-en_ZA
    Ign http://za.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-en_ZA
    Ign http://za.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-en_ZA
    Hit http://archive.canonical.com lucid Release.gpg
    Ign http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-en_ZA
    Hit http://za.archive.ubuntu.com lucid Release
    Ign http://archive.canonical.com/ubuntu/ lucid/partner Translation-en_ZA
    Ign http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_ZA
    Get:3 http://za.archive.ubuntu.com lucid-updates Release [44.7kB]
    Err http://za.archive.ubuntu.com lucid-updates Release

    Ign http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-en_ZA
    Hit http://za.archive.ubuntu.com lucid/main Packages
    Hit http://archive.canonical.com lucid Release
    Get:4 http://security.ubuntu.com lucid-security Release [44.7kB]
    Hit http://za.archive.ubuntu.com lucid/restricted Packages
    Hit http://za.archive.ubuntu.com lucid/universe Packages
    Hit http://za.archive.ubuntu.com lucid/multiverse Packages
    Hit http://archive.canonical.com lucid/partner Packages
    Get:5 http://security.ubuntu.com lucid-security/main Packages [194kB]
    Get:6 http://security.ubuntu.com lucid-security/restricted Packages [14B]
    Get:7 http://security.ubuntu.com lucid-security/universe Packages [70.7kB]
    Get:8 http://security.ubuntu.com lucid-security/multiverse Packages [4,555B]
    Fetched 314kB in 11s (27.7kB/s)
    Reading package lists… Done
    W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://za.archive.ubuntu.com lucid-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key

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

    W: Some index files failed to download, they have been ignored, or old ones used instead.
    chas@chas-desktop:~$
    ********************************

  5. Charles says:

    Oops . I am using 10.04 on my desktop at home connecting to internet by ADSL router . No proxy server unless that is my ISP server?

Speak Your Mind

*