Troubleshooting Guide : EXPKEYSIG or NO_PUBKEY error message

On Debian systems, you may get an error message when installing, updating or upgradingCentreon on Debian System

Symptoms :

A message containing the error message NO_PUBKEY is displayed when you try to install, upgrade or update your Centreon on Debian

 

Solution :

The 11/04/2024, the gpg key for apt repository expired and changed, you should change it by following those two simple steps :

 

1. Remove the old key:

apt-key del 1441882BED29D70CF2E874D65E9C374559B6C02E

2. Import the new key:

wget -O- https://apt-key.centreon.com | gpg --dearmor | tee /etc/apt/trusted.gpg.d/centreon.gpg > /dev/null 2>&1
apt update

 

Need to check ? 

 

To get detailed info about the new key and check that it is correctly installed, run the following command:

apt-key list "C903 FA90 C5EC 3C69 C922 9203 0395 7625 73E5 0BC4"

The results should look like this:

pub ed25519 2024-04-11 [SC]
C903 FA90 C5EC 3C69 C922 9203 0395 7625 73E5 0BC4
uid [unknown] Centreon APT <admin@centreon.com>
sub cv25519 2024-04-11 [E]

 

You can find more details about this procedure into our documentation : 

https://docs.centreon.com/docs/security/key-rotation/

Was this article helpful?

1 out of 1 found this helpful