Software⏱️ 2 min read📅 2026-05-31

How to Fix: How do I fix the GPG error "NO_PUBKEY"?

Fix GPG error NO_PUBKEY using Software Sources and apt-key.

Quick Answer: Open Software Sources, select the problematic repository, click 'Edit', then add the missing public key with "Add/Remove..." > "Key Server" > "Add new key".

To resolve the GPG error "NO_PUBKEY", follow these graphical steps:

🛠️ Step-by-Step Verified Fixes

Method 1: GPG Key Importer

  1. Step 1: Open the Software Sources program and click on the "Additional repositories" tab.
  2. Step 2: Click on the "Import RSS/Signed key" button next to the repository you want to add.
  3. Step 3: Select the GPG key associated with the repository from the list of available keys and click "Import". This will download the key and import it into your system's keyring.

Method 2: GDEBI

  1. Step 1: Open the Terminal and type `sudo gdebi ` (replace `` with the URL of the repository you want to add).
  2. Step 2: Follow the prompts to install the GPG key and import it into your system's keyring.

🎯 Final Words

By following these graphical methods, you can resolve the GPG error "NO_PUBKEY" without using the `apt-key` command in a terminal.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions