Ubuntu 14.04: Error
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY
When doing sudo apt update – encountered this error
Get:65 http://sg.archive.ubuntu.com trusty/restricted i386 Packages [13.4 kB] Get:66 http://sg.archive.ubuntu.com trusty/universe i386 Packages [5866 kB] Get:67 http://sg.archive.ubuntu.com trusty/multiverse i386 Packages [134 kB] Get:68 http://sg.archive.ubuntu.com trusty/main Translation-en [762 kB] Get:69 http://sg.archive.ubuntu.com trusty/multiverse Translation-en [102 kB] Get:70 http://sg.archive.ubuntu.com trusty/restricted Translation-en [3457 B] Get:71 http://sg.archive.ubuntu.com trusty/universe Translation-en [4089 kB] Fetched 34.5 MB in 22s (1566 kB/s) Reading package lists... Done W: GPG error: http://ppa.launchpad.net trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4F4EA0AAE5267A6C W: GPG error: http://ppa.launchpad.net trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C2518248EEA14886
Did a quick search on the web and found a solution
Link Below:
Solution was to request new keys from the key server
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4F4EA0AAE5267A6C C2518248EEA14886
I had 2 missing Keys 4F4EA0AAE5267A6C and C2518248EEA14886
Command to enter would be
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys [your required key]