nagios-repo package vs GPG key
Posted: Wed Apr 18, 2018 4:39 pm
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:
# 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
These directives are explained on http://people.ds.cam.ac.uk/jw35/docs/rpm_config.html
Best regards, Jørgen van der Meulen
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:
We came up with this workaround:GPG key retrieval failed: [Errno 14] curl#37 - "Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-NAGIOS"
# 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
to%config(noreplace)
%config
These directives are explained on http://people.ds.cam.ac.uk/jw35/docs/rpm_config.html
Best regards, Jørgen van der Meulen