nagios-repo package vs GPG key

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
[email protected]
Posts: 68
Joined: Wed Dec 27, 2017 2:20 pm
Location: Nieuwegein, The Netherlands
Contact:

nagios-repo package vs GPG key

Post by [email protected] »

As of March 18th we had to update nagios-repo package in order to update NCPA (to address "The GPG keys listed for the "Nagios" repository are already installed but they are not correct for this package.")

After upgrading nagios-repo package from version nagios-repo-7-2.el7.noarch.rpm to nagios-repo-7-3.el7.noarch.rpm we encounter upgrade NCPA errors:
GPG key retrieval failed: [Errno 14] curl#37 - "Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-NAGIOS"
We came up with this workaround:
# cp -p RPM-GPG-KEY-NAGIOS-V2 RPM-GPG-KEY-NAGIOS
or this one:
# yum -y remove nagios-repo && yum -y install https://repo.nagios.com/nagios/7/nagios ... noarch.rpm

However the most elegant option would be that maintainers of this nagios-repo RPM package would replace the current GPG key file that is most probably marked with
%config(noreplace)
to
%config

These directives are explained on http://people.ds.cam.ac.uk/jw35/docs/rpm_config.html

Best regards, Jørgen van der Meulen
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: nagios-repo package vs GPG key

Post by scottwilkerson »

Thanks.

We hadn't noticed this but am passing on to the maintainers for future nagios repo releases
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked