PDA

View Full Version : [ubuntu] GPG error: http://extras.ubuntu.com precise Release



cbrun
March 31st, 2015, 03:32 PM
There have been several questions around GPG errors, all with a similar solutions that involve cleaning out the lists file. I have not had any success with that approach and looking for either what I'm doing wrong or what I might try next.
I am running Ubuntu 12.04 LTS.

ubuntuBB:~$ sudo apt-get clean
ubuntuBB:~$ cd /var/lib/apt
ubuntuBB:/var/lib/apt$ sudo mv lists list.cb
ubuntuBB:/var/lib/apt$ sudo mkdir -p lists/partial
ubuntuBB:/var/lib/apt$ sudo apt-get clean
ubuntuBB:/var/lib/apt$ sudo apt-get update
...
Reading package lists... Done
W: GPG error: http://extras.ubuntu.com precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192




ubuntuBB:/var/lib/apt$ sudo rm /var/lib/apt/lists/* -vf
ubuntuBB:/var/lib/apt$ sudo apt-get update
...
Reading package lists... Done

W: GPG error: http://extras.ubuntu.com precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192

oldos2er
April 1st, 2015, 12:20 AM
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16126D3A3E5C1192

cbrun
April 1st, 2015, 12:42 PM
Ann - Thank you. That was the solution.