Today, after I ran sudo apt-get update
command I got a NO_PUBKEY
error. I tried solutions from here, here and and here (create a file trick). None of them worked nonetheless, and I still get the following errors:
W: GPG error: http://archive.canonical.com precise Release: The following signatures were invalid: 630239CC130E1A7FD81A27B140976EAF437D05B5
W: The repository 'http://archive.canonical.com precise Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
So, in particular what I get when typing
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv-keys 630239CC130E1A7FD81A27B140976EAF437D05B5
is
Executing: /tmp/apt-key-gpghome.FQVhh2ndBW/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com --recv-keys 630239CC130E1A7FD81A27B140976EAF437D05B5
gpg: key 40976EAF437D05B5: "Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
And if I put key information to the .txt file even though I get:
sudo apt-key add ~/Ubuntu.txt
OK
and
sudo gpg --export --armor 40976EAF437D05B5 | sudo apt-key add
OK
The error is still there. What is going on, can anybody please help me?
(As a sidenote, I also tried using launchpad-getkeys and y-ppa-manager but to no avail as well)