Logs from Telegraf
warning: telegraf-1.38.3-1.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID 0585bd3b: NOKEY Public key for telegraf-1.38.3-1.x86_64.rpm is not installed Retrieving key from https://repos.influxdata.com/influxdata-archive_compat.key Importing GPG key 0x7DF8B07E: Userid : "InfluxData Package Signing Key " Fingerprint: 9d53 9d90 d332 8dc7 d6c8 d3b9 d8ff 8e1f 7df8 b07e From : https://repos.influxdata.com/influxdata-archive_compat.key The GPG keys listed for the “InfluxDB Repository - RHEL 7” repository are already installed but they are not correct for this package. Failing package is: telegraf-1.38.3-1.x86_64 GPG Keys are configured as:
System info Amazon Linux 2, Telegraf 1.38.3-1, x86_64
Steps to reproduce 1. Configure /etc/yum.repos.d/influxdb.repo with gpgcheck=1 and gpgkey pointing to influxdata-archive_compat.key 2. Remove any existing InfluxData GPG keys from RPM database: sudo rpm -e gpg-pubkey-7df8b07e-63c81f4f 3. Run: sudo yum install telegraf -y 4. Install fails every time regardless of how many times key is imported
Actual behavior
yum fetches key from influxdata-archive_compat.key URL but gets old key 7df8b07e. telegraf-1.38.3 is signed with new key 0585bd3b which is NOT published at that URL. Keys will never match — install permanently blocked with gpgcheck=1.
Workaround: sudo yum install telegraf-1.33.0-1 -y ← pin to older version

