By O Meyer
sudo apt-get update
Hit:1 https://repos.insights.digitalocean.com/apt/do-agent main InRelease
Get:2 http://mirrors.digitalocean.com/ubuntu focal InRelease [265 kB]
Hit:3 http://mirrors.digitalocean.com/ubuntu focal-updates InRelease
Hit:4 http://mirrors.digitalocean.com/ubuntu focal-backports InRelease
Get:5 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:6 https://repos-droplet.digitalocean.com/apt/droplet-agent main InRelease [5518 B]
Hit:7 https://download.docker.com/linux/ubuntu focal InRelease
Err:6 https://repos-droplet.digitalocean.com/apt/droplet-agent main InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 35696F43FC7DB4C2
Fetched 384 kB in 1s (411 kB/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repos-droplet.digitalocean.com/apt/droplet-agent main InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 35696F43FC7DB4C2
W: Failed to fetch https://repos-droplet.digitalocean.com/apt/droplet-agent/dists/main/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 35696F43FC7DB4C2
W: Some index files failed to download. They have been ignored, or old ones used instead.
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!
Hi there,
I’ve seen a similar problem reported here:
https://github.com/digitalocean/droplet-agent/issues/34
The suggested fix was to run the following command:
wget -qO- https://repos-droplet.digitalocean.com/gpg.key | sudo apt-key add -
Can you give it a try and let me know how it goes?
Best,
Bobby
Hi,
I ran into this problem today also. I do not know what changed that necessitated this, but this resolved it for me:
wget -qO- https://repos-droplet.digitalocean.com/install.sh | sudo bash
Several other methods of adding the key did not work. For whatever reason, only the above did.
Thanks, Vishnu
This comment has been deleted
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.