How to fix the Ubuntu GPG Error BADSIG
If you are seeing Ubuntu GPG Error BADSIG use the one of the following methods to fix
Error Message
W: GPG error: http://archive.canonical.com intrepid Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key
Method 1
Try to run the following comamnds from terminal
$ sudo -i
# apt-get clean
# cd /var/lib/apt
# mv lists lists.old
# mkdir -p lists/partial
# apt-get clean
# apt-get update
Method 2
Try to run the following comamnds from terminal
sudo aptitude -o Acquire::http::No-Cache=True -o Acquire::BrokenProxy=true update
sudo apt-get update
Credit goes here
Funcionó maravillosamente.
Worked wonderfully.
Gracias!!
Thanks!!
PD: Using Linux Mint 13
method 1 sukses
terima kasih
Methode 1 = success.
Thank you
With method #1, you have also to give correct permissions to the “partial” folder:
sudo chmod 755 /var/lib/apt/lists/partial
Source: http://askubuntu.com/a/332252/156176
Method 1= failure
Methos 2= failure sudo: aptitude: command not found
GPG-error: http://www.openprinting.org lsb3.1 Release: : BADSIG 7A4B44C2D2A2203E OpenPrinting (OpenPrinting Test Key)
sudo aptitude -o Acquire::http::No-Cache=True -o Acquire::BrokenProxy=true update
sudo: aptitude: command not found
Hey,
Method 1 still works in 2015 for version 14.10.
Thank you.