On a fresh Ubuntu 22.04 (LTS) x64 droplet, running apt update && apt upgrade
will produce the following warning:
W: https://repos.insights.digitalocean.com/apt/do-agent/dists/main/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
This is a warning, not an error, and it can be fixed manually, but it would be nice for it not to happen in the first place in Ubuntu 22.04+.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
I figured out the fix…
If logged in a root (otherwise sudo to be added)
Run apt update
get the error
then;
Fixed!
Issue still exists…
Also I do not understand the fix… I cannot produce some of the bits they need as I generally do not know how…
I am not clueless but this error is new to me and the fix is confusing…
Where is DigitalOcean fix?
Hi there,
I have just tested this out and it seems to have worked as expected on a fresh new Ubuntu 22.04 Droplet:
After that, the
apt update and apt upgrade
also work as expected.Would you mind confirming how exactly did you install the agent?
Best,
Bobby