Question

DigitalOcean Agent key deprecation warning in Ubuntu 22.04 (Jammy)

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+.

Subscribe
Share

Submit an 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.

Hi there,

I have just tested this out and it seems to have worked as expected on a fresh new Ubuntu 22.04 Droplet:

wget -qO- https://repos-droplet.digitalocean.com/install.sh | sudo bash
# Output:

Verifying machine compatibility...
OK
Verifying compatibility with script...
OK
Checking architecture support...
OK
Installing Droplet Agent, 1 attempt
Setting up droplet-agent apt repository...
Checking dependencies for installing droplet-agent
Importing GPG public key
Installing droplet-agent
...
DigitalOcean Droplet Agent is successfully installed

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