In this tutorial, we will show you how to Fix apt-get update GPG error BADSIG on Ubuntu or Debian. Today I encountered another apt-get update GPG error, this time I got the error message BADSIG :
GPGerror:http://au.archive.ubuntu.com precise Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <email@example.com>
After a few research, I found the solution from askubuntu and StackExchange. Please use the following commands to get rid of your problem:
Please do that with the corresponding error key from your error message log.
The next step is to clear your apt software cache:
Then you are done and may try our favorite
And you should encounter no error anymore.
For you who didn’t know yet about apt-get update, it’s a Linux command specifically for Ubuntu and Debian to update apt or software repository cache.
apt-get the command itself is a powerful command-line tool to perform such function as installation of new software packages, upgrade of existing software packages, updating of the package list index, and even upgrading the entire Ubuntu/Debian system.
Thanks for using this tutorial for Fix apt-get update GPG error BADSIG on Ubuntu or Debian. For additional help or useful information, we recommend you to check the official Ubuntu website.