Results 1 to 9 of 9

Thread: Cannot Install ANY programs; erroring out all over the place

  1. #1
    Join Date
    Jan 2011
    Beans
    37

    Exclamation Cannot Install ANY programs; erroring out all over the place

    I just did a fresh install of 12.04 today because my old one was buggy, and the new install won't let me download ANY software, add any repositories, or update my system without erroring out. Here's what I get when I try to update:

    Code:
    W: GPG error: http://security.ubuntu.com precise-security Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
    W: GPG error: http://extras.ubuntu.com precise Release: The following signatures were invalid: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key <ftpmaster@ubuntu.com>
    W: GPG error: http://us.archive.ubuntu.com precise-backports Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
    W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_universe_source_Sources  Hash Sum mismatch
    
    W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_main_binary-amd64_Packages  Hash Sum mismatch
    
    W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_universe_binary-amd64_Packages  Hash Sum mismatch
    
    W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_multiverse_binary-amd64_Packages  Hash Sum mismatch
    
    W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_universe_binary-i386_Packages  Hash Sum mismatch
    
    W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_precise_multiverse_binary-i386_Packages  Hash Sum mismatch
    
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    This has done this twice today on two fresh installs, and I'd rather find a way around it here than to re-download and format the ISO on my flash drive to try again in vain.

  2. #2
    Join Date
    Sep 2007
    Location
    Norwich, UK
    Beans
    964

    Re: Cannot Install ANY programs; erroring out all over the place

    It looks as though something's gone wrong at your chosen repository source (us.archive.ubuntu.com). You can switch to a different server using Synaptic:

    Go to Settings -> Repositories. On the Ubuntu Software tab, select the Download From... dropdown and then Other... - you'll be given an enormous list of servers to choose from. Select a different one and see if it makes a difference.

    Steve.

  3. #3
    Join Date
    Jan 2011
    Beans
    37

    Re: Cannot Install ANY programs; erroring out all over the place

    Quote Originally Posted by squaregoldfish View Post
    It looks as though something's gone wrong at your chosen repository source (us.archive.ubuntu.com). You can switch to a different server using Synaptic:

    Go to Settings -> Repositories. On the Ubuntu Software tab, select the Download From... dropdown and then Other... - you'll be given an enormous list of servers to choose from. Select a different one and see if it makes a difference.

    Steve.
    Problem: Synaptic is not installed. Is there another way to change it?

  4. #4
    Join Date
    Sep 2007
    Location
    Norwich, UK
    Beans
    964

    Re: Cannot Install ANY programs; erroring out all over the place

    Ha! Chicken and egg....

    OK, it can be done, but with great care. PLEASE TAKE BACKUPS FIRST!

    Backup, then edit the file /etc/apt/sources.list - replace every instance of us.archive.ubuntu.com with the name of an alternative mirror. I'm in the UK, so I'm using gb.archive.ubuntu.com and it seems to be working at present.

    After changing the file, run sudo apt-get update and hopefully it will work! Then you can install Synaptic and use that to find a more local repository that works - much safer!

    Steve.

  5. #5
    Join Date
    Jan 2011
    Beans
    37

    Re: Cannot Install ANY programs; erroring out all over the place

    Quote Originally Posted by squaregoldfish View Post
    Ha! Chicken and egg....

    OK, it can be done, but with great care. PLEASE TAKE BACKUPS FIRST!

    Backup, then edit the file /etc/apt/sources.list - replace every instance of us.archive.ubuntu.com with the name of an alternative mirror. I'm in the UK, so I'm using gb.archive.ubuntu.com and it seems to be working at present.

    After changing the file, run sudo apt-get update and hopefully it will work! Then you can install Synaptic and use that to find a more local repository that works - much safer!

    Steve.
    Is there anywhere online I can find a mirror that's relatively close to me, or should I just select a well-known one that may not be close and just wait awhile for things before I can change it to a more localized one?

  6. #6
    Join Date
    Sep 2007
    Location
    Norwich, UK
    Beans
    964

    Re: Cannot Install ANY programs; erroring out all over the place

    I should just use one anywhere that works to get Synaptic installed. Once you've done that, you can use it to pick a more local mirror from the list. It'll be much easier to switch mirrors that way.

    Steve.

  7. #7
    Join Date
    Jan 2011
    Beans
    37

    Re: Cannot Install ANY programs; erroring out all over the place

    Here's what I got after running the update. My issues are with the remaining two URLs, which I didn't change. What do you recommend for the security and extras URLs if I used GB for the ones that said us before?

    Code:
    W: GPG error: http://security.ubuntu.com precise-security Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
    W: GPG error: http://extras.ubuntu.com precise Release: The following signatures were invalid: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key <ftpmaster@ubuntu.com>
    Edit: I guess that doesn't really matter now that I have Synaptic.

    Thanks for the help, and barring any further issues this thread should be declared solved!
    Last edited by Shie6meepo; September 16th, 2012 at 12:35 AM.

  8. #8
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Cannot Install ANY programs; erroring out all over the place

    http://www.ubuntugeek.com/how-to-fix...or-badsig.html

    You can graphically edit your sources.list with
    Code:
    gksudo software-properties-gtk

  9. #9
    Join Date
    Sep 2007
    Location
    Norwich, UK
    Beans
    964

    Re: Cannot Install ANY programs; erroring out all over the place

    A bit of Googling has found a probable answer for those. Try Method 1 on this link:

    http://www.ubuntugeek.com/how-to-fix...or-badsig.html

    Steve.

    oldos2er beat me to it! Also it seems that Synaptic simply runs software-properties-gtk for the repository setup. *Squirrels away information for the future*
    Last edited by squaregoldfish; September 16th, 2012 at 12:41 AM. Reason: Bowing to greater knowledge

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
  •