Report this

What is the reason for this report?

There are problems and -y was used without --force-yes

Posted on September 4, 2019

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!

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.