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
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
This works for 14.04
S. https://github.com/digitalocean/do-agent/issues/131#issuecomment-507864145
I followed and a new error occurred.
Finished, I use the command
It shows
I am having the same issue, and running
apt update
still gives the same errorHello,
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