You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
W: https://download.newrelic.com/infrastructure_agent/linux/apt/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
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.
deb [signed-by=/etc/apt/trusted.gpg.d/GPGkey] https://whatever_repo stable main
About the right location for GPG keys.
/usr/share/keyrings for keyrings managed by packages, and /etc/apt/keyrings for keyrings managed by the system operator.
Possible Solution
Download GPG key to /usr/share/keyrings and reference it in newrelic repo file. Or download it to a temporal folder and import it with 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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: