26

Possible Duplicate:
How do I fix a “Problem with MergeList” error when trying to do an update?

I always have been a Windows guy but with my recent interesting and degree (Microbiology) of bioinformatics I am finding a need for the command line and higher computational power.

I am making the full conversion to Ubuntu 12.04 LTS and honestly just need help setting it up for my/it's first time. I lack the command line knowledge to navigate some problems.

First off I keep getting a handful of errors withing sudo apt-get update

Reading package lists... Error!
W: GPG error: http://us.archive.ubuntu.com precise Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>

W: GPG error: htt://security.ubuntu.com precise-security Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>

W: GPG error: htt://extras.ubuntu.com precise Release: The following signatures were invalid: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key <ftpmaster@ubuntu.com>

W: GPG error: htt://us.archive.ubuntu.com precise-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>

W: GPG error: htt://us.archive.ubuntu.com precise-backports Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>

E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_restricted_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.

Secondly, I have various random problems with the new OS. I click on the "Ubuntu Software Center" and it opens then crashes without a error box :

"Ubuntu has encountered an internal error"

that can't show details

jon_shep
  • 361
  • 1
  • 4
  • 5

1 Answers1

51

Your BADSIG Problem is an easy one. Your signatures are incorrect. Update them with:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5

Please do that with every wrong key by just changing the last key number and keeping the rest.

Rebuild your software cache:

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

Maybe that will fix your Software Center Problem as well.

PS: But if you ask here - many nice people will surely help you here and you will learn a lot! But please keep on giving as much error output as possible.

David Foerster
  • 36,890
  • 56
  • 97
  • 151
Peterling
  • 1,169