Question

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

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

Submit an answer

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!

Sign In or Sign Up to Answer

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.

This works for 14.04

curl -L -o ./install.sh https://insights.nyc3.cdn.digitaloceanspaces.com/install.sh
sed -i '17s/https/http/' install.sh
chmod 775 install.sh 
./install.sh

S. https://github.com/digitalocean/do-agent/issues/131#issuecomment-507864145

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.

I am having the same issue, and running apt update still gives the same error