GPG error

671 views
Skip to first unread message

bars5...@gmail.com

unread,
Dec 18, 2021, 3:36:54 AM12/18/21
to Wazuh mailing list
Hi! Today i try upgrade wazuh, but receive error:

root@wazu01:# apt-get update
Hit:1 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu focal InRelease
Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
Get:3 http://deb.debian.org/debian stretch-backports InRelease [91.8 kB]
Hit:4 https://packages.wazuh.com/4.x/apt stable InRelease
Hit:5 https://artifacts.elastic.co/packages/7.x/apt stable InRelease
Get:6 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:7 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:8 http://archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Err:3 http://deb.debian.org/debian stretch-backports InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D                                                                                                       386FA1D9
Reading package lists... Done
W: GPG error: http://deb.debian.org/debian stretch-backports InRelease: The following signatures couldn't be verified because the publ                                                                                                       ic key is not available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9
E: The repository 'http://deb.debian.org/debian stretch-backports InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@wazu01:# apt-get update
Hit:1 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu focal InRelease
Get:2 http://deb.debian.org/debian stretch-backports InRelease [91.8 kB]
Hit:3 https://packages.wazuh.com/4.x/apt stable InRelease
Hit:4 https://artifacts.elastic.co/packages/7.x/apt stable InRelease
Hit:5 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:6 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:7 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:8 http://archive.ubuntu.com/ubuntu focal-security InRelease
Err:2 http://deb.debian.org/debian stretch-backports InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D                                                                                                       386FA1D9
Reading package lists... Done
W: GPG error: http://deb.debian.org/debian stretch-backports InRelease: The following signatures couldn't be verified because the publ                                                                                                       ic key is not available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9
E: The repository 'http://deb.debian.org/debian stretch-backports InRelease' is not signed.

N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Please, help resolve it.

Alberto Rodriguez

unread,
Dec 21, 2021, 11:15:53 AM12/21/21
to Wazuh mailing list

It seems you have a missing key for the repository http://deb.debian.org/debian stretch-backports InRelease, it’s not Wazuh related. To add the corresponding key, you could use the command apt-key adv --keyserver keyserver.ubuntu.com --recv 648ACFD622F3D138, which downloads and adds the repository key to the debian keyring.
Hope it helps.

Regards, 

Alberto R

bars5...@gmail.com

unread,
Dec 22, 2021, 3:49:17 PM12/22/21
to Wazuh mailing list
Thank you! Issue resolved.

вторник, 21 декабря 2021 г. в 18:15:53 UTC+2, Alberto Rodriguez:
Reply all
Reply to author
Forward
0 new messages