Open dcruzrinkel opened 8 months ago
24.04 is long released. I'll throw in more warnings:
W: https://download.newrelic.com/infrastructure_agent/linux/apt/dists/noble/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://apt.newrelic.com/debian/dists/newrelic/Release.gpg: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://apt.newrelic.com/debian/dists/newrelic/Release.gpg: Signature by key B60A3EC9BC013B9C23790EC8B31B29E5548C16BF uses weak algorithm (dsa1024)
N: Missing Signed-By in the sources.list(5) entry for 'http://apt.newrelic.com/debian'
N: Missing Signed-By in the sources.list(5) entry for 'https://download.newrelic.com/infrastructure_agent/linux/apt'
Please make the corresponding updates, it just looks not very professional.
Summary
Ubuntu 24.04 will be released next April and it will include a deprecation for the trusted.gpg files.
Desired Behavior
GPG keys should be included in /usr/share/keyrings or /etc/apt/keyrings and then included in the repo file.
About the right location for GPG keys.
Possible Solution
gpg --no-default-keyring --keyring gnupg-ring:/tmp/newrelic-infra.gpg --import
Additional context
We receive a warning right now, but in a couple of months this will be mandatory when updating. The updated method will also work (at least) in Ubuntu 22.04.