1

I am a new Ubuntu user.12.04(32 bit ) version.I not update Ubuntu for 1 month. Now when I want to update using terminal sudo apt-get update then shows that:

reading package list done.....
:GPG error: http://in.archive.ubuntu.com precise Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>
W: GPG error: http://in.archive.ubuntu.com precise-backports Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>

And when I want to update using update manager then shows the massage that:

The action would require the installation of packages from not authenticated sources.

How can I solve this problem?

snoop
  • 4,030
  • 8
  • 39
  • 58
m.bhandari
  • 11
  • 2
  • 2
    possible duplicate of [Requires installation of untrusted packages?](http://askubuntu.com/questions/184117/requires-installation-of-untrusted-packages) – Ravan Sep 26 '15 at 04:45
  • You could generate your list file using this tool [here](http://repogen.simplylinux.ch/) – Zuko Sep 26 '15 at 05:00
  • possible duplicate of [What is the easiest way to resolve apt-get BADSIG GPG errors?](http://askubuntu.com/questions/1877/what-is-the-easiest-way-to-resolve-apt-get-badsig-gpg-errors) – karel Sep 26 '15 at 14:06

1 Answers1

0

run these commands:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
sudo apt-get update && sudo apt-get upgrade

The first command downloads key 40976EAF437D05B5 from keyserver.ubuntu.com, and the next one updates your package list, then applies the needed updates.

waltinator
  • 35,099
  • 19
  • 57
  • 93
Alex Jones
  • 7,830
  • 9
  • 54
  • 93
  • update can be done using "sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5" "sudo apt-get update && sudo apt-get upgrade"...@edward torvalds but when i want to install softwares from ubuntu software center the massage shows that "The action would require the installation of packages from not authenticated sources." Now how can i install softwares??? – m.bhandari Sep 27 '15 at 14:53
  • @m.bhandari try this: http://askubuntu.com/questions/184117/requires-installation-of-untrusted-packages?lq=1 also if you can install software you can try this: http://askubuntu.com/a/545052/294611 – Alex Jones Sep 27 '15 at 15:11