Ubuntu update error the following signatures were invalid: BADSIG 40976EAF437D05B5

Asked by Muhammad Khurrum Butt on 2010-08-15

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

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/lucid-updates/Release

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

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
marcobra (Marco Braida)
Solved:
2010-08-16
Last query:
2010-08-16
Last reply:
2010-08-15

How to add gpg repository keys

To add your keys, please try this:

Open a Terminal from the menu Applications → Accessories → Terminal and type or better copy and paste a row a time then press enter:
(if the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com A040830F7FAC5991

Then type: (when the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

sudo apt-get update
sudo apt-get dist-upgrade

to update your system.

General info: https://help.launchpad.net/Packaging/PPA#Adding%20a%20PPA%20to%20your%20Ubuntu%20repositories

How to videos:

http://www.archive.org/download/LaunchpadAddingAPpasKeyToYourUbuntuSystem/launchpad-adding-key-for-signed-ppa.ogv

http://www.youtube.com/watch?v=UUZOQsNo_ws

Hope this helps

Obvious you row must be:

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

Thanks marcobra (Marco Braida), that solved my question.