Search code examples
gnupgaptapt-getparrot-os

How to resolve 'An error occurred during the signature verification' in Parrot OS after GPG key update?2025


I recently encountered an issue in Parrot OS when attempting to update packages.

Err:3 https://deb.parrot.sh/parrot lory InRelease                                                                                    
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7A8286AF0E81EE4A

I thought there is a key verification issue so i tried this method mention in the following post apt-get update not working in parrot OS

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7A8286AF0E81EE4A

But after trying again and again with different keyservers i was unable to resolve the issue.

OS version: 6.0

uname -a:

Linux parrot 6.5.0-13parrot1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.13-1parrot1 (2023-12-19) x86_64 GNU/Linux

Solution

  • After some research, I found that Parrot Security recently updated their GPG keys, which appears to be the root cause of this issue.

    This update has led to two types of errors for users:

    1. Some are encountering a key expiration error.
    2. Others are facing the signature verification error mentioned earlier.

    Solution:

    The fix is straightforward: install the updated keyring package.

    You can download and install the package using the following link (valid at the time of writing):

    parrot-archive-keyring_2024.12_all.deb

    To install it:

    Change directory:

    cd path/to/downloaded/file
    

    Install package:

    sudo dpkg -i ./{file_name}
    

    Update :

    sudo apt update
    

    Note:

    This link points to the current solution. However, if Parrot Security updates their keys or modifies the package in the future, refer to their official post for the latest information and instructions: Official Parrot Security Blog Post

    Source:

    For more details, you can read the full post on the Parrot Security official website: Parrot rolls out new GPG keys