:::: MENU ::::

Fix the NO_PUBKEY error with apt on Ubuntu

  • Feb 04 / 2019
  • 0
Linux

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.

Comments are closed.

Question ? Contact