Fix Apt-get : NO_PUBKEY / GPG Error in Debian

In computers based on a Debian operating system that uses Linux kernel, error messages similar to NO_PUBKEY may appear.This happens while using the Apt-Get command line tool, and this error is associated with the tool's update feature.

This problem can be solved by simply keying in the appropriate commands.

Solve Apt-get : NO_PUBKEY / GPG Error in Debian

Simply type the following commands, taking care to replace the number below with that of the key that was displayed in the error message:


gpg --keyserver pgpkeys.mit.edu --recv-key  010908312D230C5F      
gpg -a --export 010908312D230C5F | sudo apt-key add -

Image: © Debian.
Published by netty5. Latest update on November 22, 2017 at 06:02 PM by owilson.
This document, titled "Fix Apt-get : NO_PUBKEY / GPG Error in Debian," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (https://ccm.net/).
Debian - Listing packages installed