PDA

View Full Version : Update packages "can't be authenticated"?



lwc
February 24th, 2007, 07:19 PM
Today I suddenly finds that all new packages (which are going to be downloaded from the internet) cannot be authenciated. So I am forced to abandon the updates.

The update function was okay yesterday. What happened?

(PS. install new software will also produce the same problem)

pochu
February 25th, 2007, 02:38 AM
There was a problem with the archive, but it was fixed. I think the problem was with the gpg keys, but I'm not sure about that.

David Andersson
December 1st, 2007, 04:07 PM
I had this problem in Ubuntu 7.10. This solved it for me:


sudo apt-get update

Then use the update manager as usual.

(Thanks to the commenter on this blog entry http://linuxtnt.wordpress.com/2007/08/27/cant-be-authenticated-2 (http://http://linuxtnt.wordpress.com/2007/08/27/cant-be-authenticated-2))

LENNYMANSELLmansell@gmail
March 9th, 2011, 03:37 PM
FYI: I received the following error when executing apt-get update:



W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ubuntu.media.mit.edu maverick 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://ubuntu.media.mit.edu maverick-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>

W: Failed to fetch http://ubuntu.media.mit.edu/ubuntu/dists/maverick/Release

W: Failed to fetch http://ubuntu.media.mit.edu/ubuntu/dists/maverick-updates/Release

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

slashwannabe94
March 19th, 2011, 10:44 PM
I recieved the same errors when trying to update one time.

Running the following commands one after another fixed it.

to run the commands, click on Applications then Accessories then terminal. copy and paste each command one by one into the terminal and press enter, if it prompts for your password then enter it and press enter.

gpg --keyserver keyserver.ubuntu.com --recv 2EBC26B60C5A2783
gpg --export --armor 2EBC26B60C5A2783 | sudo apt-key add -
gpg --keyserver keyserver.ubuntu.com --recv 40976EAF437D05B5
gpg --export --armor 40976EAF437D05B5 | sudo apt-key add -
sudo rm /var/lib/apt/lists/partial/*
sudo rm /var/lib/apt/lists/*
sudo apt-get update

rvjr
November 14th, 2011, 05:16 PM
Good answer! Removing the contents of lists and lists/partial helped! Thanks!