0

Whenever I use the command sudo apt-get update I get the following error:

W: GPG error: http://archive.ubuntu.com trusty Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>

Please help me I am very new to all this.

Chai T. Rex
  • 5,193
Sahil Silare
  • 109
  • 4

1 Answers1

1

Grabbing the missing keys

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

Rebuild software cache

cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get clean
sudo apt-get update

Hope this answer your problem :)

shalih.ai
  • 348