How to Solve “The following signatures were invalid: BADSIG” Error in Ubuntu Updates

It’s been a long time since I had connected my Ubuntu notebook to Internet. As a result when I connected it to internet after two weeks of gap, as all of us know that Ubuntu is quite fond of providing updates on a regular basis, I was expecting loads of updates to be provided by Ubuntu.

I typed the following commands in terminal in attempt to update the system.

The “clean” command did nothing.

The sudo apt-get update command came up with an error:

Did you notice the last few lines? Those are the crucial ones and we need to focus on it. It says:

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://extras.ubuntu.com oneiric Release: The following signatures were invalid: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key <ftpmaster@ubuntu.com>

That is our culprit here: Invalid signature error BADSIG.

To remove the bad signature error, open the terminal (Ctrl+Alt+T) and use the commands given below one by one:

After using these commands you should get rid of the errors and your Update Manager should be working fine.

Still got problem? Do tell me if you still facing difficulties with the BADSIG or Ubuntu Update Manger. I would like to help you out. Keep in touch by subscribing to the newsletter. Enjoy :)

Image credit: Big Stock Photo