This will work better than these solutions:
sudo apt-key list
You will see this on this list:
    pub   1024D/7FAC5991 2007-03-08
uid                  Google, Inc. Linux Package Signing Key <linux-packages-keymaster@google.com>
sub   2048g/C07CB649 2007-03-08
You will do now:
sudo apt-key del 7FAC5991
Then you will do these commands:
sudo -i
apt-get clean
cd /var/lib/apt
mv lists lists.old
mkdir -p lists/partial
apt-get clean
apt-get update
And after that's done you will do this to install keyring from another keyserver:
gpg --keyserver hkp://subkeys.pgp.net --recv-keys [YOURKEYINQUESTION]
gpg --armor --export [YOURKEYINQUESTION] | sudo apt-key add -
YOURKEYINQUESTION means your repository key that the BADSIG complains, in this case the BADSIG Number A040830F7FAC5991
And then you do:
apt-get update && apt-get dist-upgrade
Now you are all set. :)

Entradas populares de este blog