Results 1 to 10 of 10

Thread: sudo aptitude update - results in - W: GPG error:

  1. #1
    Join Date
    Dec 2006
    Location
    in the boonies
    Beans
    Hidden!

    sudo aptitude update - results in - W: GPG error:

    I have ssh-ed into a remote Ubuntu 8.04 desktop.

    I did:

    sudo aptitude update
    Code:
    Hit http://us.archive.ubuntu.com hardy Release.gpg
    Ign http://us.archive.ubuntu.com hardy/main Translation-en_US
    Ign http://us.archive.ubuntu.com hardy/restricted Translation-en_US
    Ign http://us.archive.ubuntu.com hardy/universe Translation-en_US
    Ign http://us.archive.ubuntu.com hardy/multiverse Translation-en_US
    Get:1 http://us.archive.ubuntu.com hardy-updates Release.gpg [191B]
    Ign http://us.archive.ubuntu.com hardy-updates/main Translation-en_US
    Ign http://us.archive.ubuntu.com hardy-updates/restricted Translation-en_US
    Ign http://us.archive.ubuntu.com hardy-updates/universe Translation-en_US
    Ign http://us.archive.ubuntu.com hardy-updates/multiverse Translation-en_US
    Hit http://us.archive.ubuntu.com hardy Release
    Get:2 http://us.archive.ubuntu.com hardy-updates Release [51.2kB]
    Ign http://us.archive.ubuntu.com hardy-updates Release
    Hit http://us.archive.ubuntu.com hardy/main Packages
    Hit http://us.archive.ubuntu.com hardy/restricted Packages
    Hit http://us.archive.ubuntu.com hardy/main Sources
    Hit http://us.archive.ubuntu.com hardy/restricted Sources
    Hit http://us.archive.ubuntu.com hardy/universe Packages
    Hit http://us.archive.ubuntu.com hardy/universe Sources
    Hit http://us.archive.ubuntu.com hardy/multiverse Packages
    Hit http://us.archive.ubuntu.com hardy/multiverse Sources
    Hit http://us.archive.ubuntu.com hardy-updates/main Packages
    Hit http://us.archive.ubuntu.com hardy-updates/restricted Packages
    Hit http://us.archive.ubuntu.com hardy-updates/main Sources
    Hit http://us.archive.ubuntu.com hardy-updates/restricted Sources
    Hit http://us.archive.ubuntu.com hardy-updates/universe Packages
    Hit http://us.archive.ubuntu.com hardy-updates/universe Sources
    Hit http://us.archive.ubuntu.com hardy-updates/multiverse Packages
    Hit http://us.archive.ubuntu.com hardy-updates/multiverse Sources
    Fetched 192B in 8s (22B/s)
    Reading package lists... Done
    W: GPG error: http://us.archive.ubuntu.com hardy-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
    W: You may want to run apt-get update to correct these problems
    So I did:

    sudo apt-get update

    That did not make any difference.
    What should I do now?

  2. #2
    Join Date
    Dec 2006
    Location
    in the boonies
    Beans
    Hidden!

    Re: sudo aptitude update - results in - W: GPG error:

    I tried all these:


    Code:
     sudo   apt-get update -o Acquire::http::No-Cache=True
    
    
     sudo   aptitude   update  -o Acquire::http::No-Cache=True
    
    
     sudo   apt-get   -o Acquire::http::No-Cache=True   -o Acquire::BrokenProxy=True   update  
    
    
     sudo   aptitude   update    -o Acquire::http::No-Cache=True   -o Acquire::BrokenProxy=True

    Still no luck -

    W: GPG error: http://us.archive.ubuntu.com hardy-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
    W: You may want to run apt-get update to correct these problems

  3. #3
    Join Date
    Dec 2004
    Location
    Atlanta, GA USA
    Beans
    7,257
    Distro
    Ubuntu Development Release

    Re: sudo aptitude update - results in - W: GPG error:

    post the output of:
    Code:
    cat /etc/apt/sources.list

  4. #4
    Join Date
    Mar 2006
    Beans
    8,345

    Re: sudo aptitude update - results in - W: GPG error:

    In system>admin>software sources change server to main.

  5. #5
    Join Date
    Dec 2006
    Location
    in the boonies
    Beans
    Hidden!

    Re: sudo aptitude update - results in - W: GPG error:

    Thanks.

    Before I read the above suggestions, I googled and found:
    https://bugs.launchpad.net/ubuntu/+s...61/comments/24


    Code:
    sudo bash
    
    apt-get clean
    cd /var/lib/apt
    mv lists lists.old
    mkdir -p lists/partial
    apt-get clean
    apt-get update
    That worked.
    No more errors.

  6. #6
    Join Date
    Dec 2006
    Location
    in the boonies
    Beans
    Hidden!

    Re: sudo aptitude update - results in - W: GPG error:

    Just in case ...

    cat /etc/apt/sources.list

    Code:
    #deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release amd64 (20080423)]/ hardy main restricted
    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribution.
    
    deb http://us.archive.ubuntu.com/ubuntu/ hardy main restricted
    deb-src http://us.archive.ubuntu.com/ubuntu/ hardy main restricted
    
    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
    deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
    
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## universe WILL NOT receive any review or updates from the Ubuntu security
    ## team.
    deb http://us.archive.ubuntu.com/ubuntu/ hardy universe
    deb-src http://us.archive.ubuntu.com/ubuntu/ hardy universe
    deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates universe
    deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates universe
    
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## multiverse WILL NOT receive any review or updates from the Ubuntu
    ## security team.
    deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
    deb-src http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
    deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
    deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
    
    ## Uncomment the following two lines to add software from the 'backports'
    ## repository.
    ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main release, although it includes
    ## newer versions of some applications which may provide useful features.
    ## Also, please note that software in backports WILL NOT receive any review
    ## or updates from the Ubuntu security team.
    # deb http://us.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
    # deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
    
    ## Uncomment the following two lines to add software from Canonical's
    ## 'partner' repository. This software is not part of Ubuntu, but is
    ## offered by Canonical and the respective vendors as a service to Ubuntu
    ## users.
    # deb http://archive.canonical.com/ubuntu hardy partner
    # deb-src http://archive.canonical.com/ubuntu hardy partner
    
    # Line commented out by installer because it failed to verify:
    #deb http://security.ubuntu.com/ubuntu hardy-security main restricted
    # Line commented out by installer because it failed to verify:
    #deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
    # Line commented out by installer because it failed to verify:
    #deb http://security.ubuntu.com/ubuntu hardy-security universe
    # Line commented out by installer because it failed to verify:
    #deb-src http://security.ubuntu.com/ubuntu hardy-security universe
    # Line commented out by installer because it failed to verify:
    #deb http://security.ubuntu.com/ubuntu hardy-security multiverse
    # Line commented out by installer because it failed to verify:
    #deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse

  7. #7
    Join Date
    Dec 2006
    Location
    in the boonies
    Beans
    Hidden!

    Re: sudo aptitude update - results in - W: GPG error:

    Quote Originally Posted by zvacet View Post
    In system>admin>software sources change server to main.
    I only have ssh access to the remote system.

  8. #8
    Join Date
    Mar 2006
    Beans
    8,345

    Re: sudo aptitude update - results in - W: GPG error:

    Yes,first line in your first post.I overlooked it.Sorry!

  9. #9
    Join Date
    Apr 2010
    Location
    Ames, Iowa
    Beans
    67
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: sudo aptitude update - results in - W: GPG error:

    Quote Originally Posted by boondocks View Post
    Thanks.

    Before I read the above suggestions, I googled and found:
    https://bugs.launchpad.net/ubuntu/+s...61/comments/24


    Code:
    sudo bash
    
    apt-get clean
    cd /var/lib/apt
    mv lists lists.old
    mkdir -p lists/partial
    apt-get clean
    apt-get update
    That worked.
    No more errors.
    That worked for me too. Thanks.

  10. #10
    Join Date
    Apr 2010
    Location
    Ames, Iowa
    Beans
    67
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: sudo aptitude update - results in - W: GPG error:

    Quote Originally Posted by bookcrazy View Post
    That worked for me too. Thanks.
    I take that back. I am still getting:

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

    W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/...curity/Release

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

    Here is my output for cat /etc/apt/sources.list:

    # deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribution.

    deb http://us.archive.ubuntu.com/ubuntu/ lucid main restricted
    deb-src http://us.archive.ubuntu.com/ubuntu/ lucid main restricted

    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
    deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates main restricted

    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team. Also, please note that software in universe WILL NOT receive any
    ## review or updates from the Ubuntu security team.
    deb http://us.archive.ubuntu.com/ubuntu/ lucid universe
    deb-src http://us.archive.ubuntu.com/ubuntu/ lucid universe
    deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe
    deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe

    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## multiverse WILL NOT receive any review or updates from the Ubuntu
    ## security team.
    deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
    deb-src http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
    deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
    deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse

    ## Uncomment the following two lines to add software from the 'backports'
    ## repository.
    ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main release, although it includes
    ## newer versions of some applications which may provide useful features.
    ## Also, please note that software in backports WILL NOT receive any review
    ## or updates from the Ubuntu security team.
    # deb http://th.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
    # deb-src http://th.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse

    ## Uncomment the following two lines to add software from Canonical's
    ## 'partner' repository.
    ## This software is not part of Ubuntu, but is offered by Canonical and the
    ## respective vendors as a service to Ubuntu users.
    deb http://archive.canonical.com/ubuntu lucid partner
    deb-src http://archive.canonical.com/ubuntu lucid partner

    deb http://us.archive.ubuntu.com/ubuntu/ lucid-security main restricted
    deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-security main restricted
    deb http://us.archive.ubuntu.com/ubuntu/ lucid-security universe
    deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-security universe
    deb http://us.archive.ubuntu.com/ubuntu/ lucid-security multiverse
    deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-security multiverse
    deb http://ppa.launchpad.net/banshee-team/ppa/ubuntu lucid main
    deb-src http://ppa.launchpad.net/banshee-team/ppa/ubuntu lucid main
    deb http://dl.google.com/linux/deb/ stable non-free main
    I am totally willing to listen and learn.


    EDIT

    I went System---->Administration---->Software Sources and changed Source code to "Main"

    I opened a terminal and entered

    sudo apt-get update

    and didn't get any errors.

    I think I've got it fixed
    Last edited by bookcrazy; January 29th, 2011 at 04:02 AM. Reason: More information

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •