How to fix GPG error/BADSIG while running apt-get update? [duplicate]
Type the following in your terminal one by one,
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2E206FF0
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 17CF995E
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 298C1C9F
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E21DD54D
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5139BD61
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9E5DB0C8
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4631BBEA
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0624A220
Note:
- After running all the above commands you may get few errors, because i have found lot of errors in your result,post the complete output of
sudo apt-get update
after running all those commands.So that i may help you.
Is there a transparent proxy between you and the Ubuntu archive? It seems that several of the Packages files are not being fetched correctly (which results in the GPG failures). Try this from the command line:
curl -I http://extras.ubuntu.com/ubuntu/dists/maverick/Release
Does that show something like this? (The first line showing "200 OK" would be expected if things aren't totally broken.)
HTTP/1.1 200 OK
Date: Thu, 23 Dec 2010 21:08:06 GMT
Server: Apache/2.2.8 (Ubuntu)
Last-Modified: Sun, 10 Oct 2010 23:00:00 GMT
ETag: "f72018-dfca-4924b34083c00"
Accept-Ranges: bytes
Content-Length: 57290
Content-Type: text/plain
If this looks clean, try it again:
sudo apt-get clean
sudo apt-get update