Debian Wheezy repo expired GPG key error

Started by normalcy, April 09, 2018, 01:37:02 AM

Previous topic - Next topic

normalcy

Hi, when doing an apt-get update this morning on some debian wheezy machines, I'm getting a key expired error for netxms repo?

W: GPG error: http://packages.netxms.org wheezy Release: The following signatures were invalid: KEYEXPIRED 1522252127 KEYEXPIRED 1522252127 KEYEXPIRED 1522252127

Are those versions no longer maintained now?

batnator

find the key identifier

apt-key list

/etc/apt/trusted.gpg.d/netxms-keyring.gpg
-----------------------------------------
pub   4096R/CDFADDB1 2015-03-29 [verfällt: 2020-03-24]


update the key


apt-key adv --keyserver keys.gnupg.net --recv-keys CDFADDB1


now apt-get update should work normaly

Alex Kirhenshtein

Key in netxms-keyring.gpg is installed using netxms-release package which is available in the repos (and I suggest to upgrade it this way).
You can upgrade it manually:

wget https://packages.netxms.org/netxms-release_1.2_all.deb
dpkg -i netxms-release_1.2_all.deb

batnator

i have these error after upgrading the netxms-release package on one of my servers, only the manually key update with apt-key fixed the problem on my system

normalcy

Hi all the apt-key process seems to have fixed it on the jessie machines I have, but installing the netxms relase package on stretch doesn't seem to help.

apt update
Ign:1 http://ftp.iinet.net.au/debian/debian stretch InRelease
Hit:2 http://ftp.iinet.net.au/debian/debian stretch-updates InRelease
Hit:3 http://ftp.iinet.net.au/debian/debian stretch Release
Hit:4 http://security.debian.org/debian-security stretch/updates InRelease
Ign:5 http://packages.netxms.org/debian stretch InRelease
Get:7 http://packages.netxms.org/debian stretch Release [2,671 B]
Get:8 http://packages.netxms.org/debian stretch Release.gpg [819 B]
Ign:8 http://packages.netxms.org/debian stretch Release.gpg
Reading package lists... Done
N: Ignoring file 'netxms.list.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
W: GPG error: http://packages.netxms.org/debian stretch Release: The following signatures were invalid: EXPKEYSIG 179C0A80CDFADDB1 NetXMS Automatic Signing Key <[email protected]>
E: The repository 'http://packages.netxms.org/debian stretch Release' 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.