By youdoclip
I will Upgrade from the Legacy Metrics Agent to the Current Agent
curl -sSL https://repos.insights.digitalocean.com/install.sh | sudo bash
but show
curl -sSL https://repos.insights.digitalocean.com/install.sh | sudo bash
Cleaning up old sources...OK
Verifying machine compatability...OK
Verifying compatability with script...OK
Installing apt repository...
Installing gpg key...OK
WARNING: The following packages cannot be authenticated!
do-agent
E: There are problems and -y was used without --force-yes
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!
I am having the same issue, and running apt update still gives the same error
Hello,
I’ve tested the script on a few different Ubuntu distributions and it seems to be working on all as normal.
What I would suggest is running apt update again and see if it succeeds. If so, then try to run the install script again. If you get any errors, then this would explain why the installation is not going through and it would give you a good starting point for further troubleshooting.
Regards, Bobby
I followed and a new error occurred.
sudo apt-get update
Finished, I use the command
curl -sSL https://repos.insights.digitalocean.com/install.sh | sudo bash
It shows
Cleaning up old sources...OK
Verifying machine compatability...OK
Verifying compatability with script...OK
Installing apt repository...
Installing gpg key...OK
W: Failed to fetch https://repos.insights.digitalocean.com/apt/do-agent/dists/main/main/binary-amd64/Packages gnutls_handshake() failed: Decrypt error
W: Failed to fetch https://repos.insights.digitalocean.com/apt/do-agent/dists/main/main/binary-i386/Packages gnutls_handshake() failed: Decrypt error
E: Some index files failed to download. They have been ignored, or old ones used instead.
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.