:::: MENU ::::

Monthly Archives / February 2019

  • Feb 04 / 2019
  • 0

Fix the NO_PUBKEY error with apt on Ubuntu

When updating or installing a package on a Debian-based distribution, you can face that alert:

This just means that a signing GPG key is missing or expired on your system. The error is giving you the ID of the missing key that you can use for looking for it on the Ubuntu website:

Copy the key that you just got from the website above into a file – mykey.txt, for example – and import it with the apt-key command:

Try to install/update the package again, and the error should not appear anymore.

Question ? Contact