Can't install metrics

I am trying to follow the instructions here to “Update Droplet to Monitoring”.

sudo apt-get purge do-agent
curl -sSL | sudo bash

My droplet is using “Ubuntu MEAN on 14.04”

I am getting the following output

> sudo apt-get purge do-agent

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package do-agent
> curl -sSL | sudo bash

Cleaning up old sources...OK
Verifying machine compatability...OK
Verifying compatability with script...OK
Installing apt repository...
Splitting up /var/lib/apt/lists/partial/downloads-distro.mongodb.org_repo_ubuntu-upstart_dists_dist_InRelease into data and signature failedE: GPG error: dist InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)
E: Unable to correct problems, you have held broken packages.

I tried running sudo apt-get update but it still can’t find the do-agent package. Any idea what could be causing these errors?

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.

I think that this is because Ubuntu 14 is no longer being supported by Ubuntu, so you would start seeing a lot of other things not working. I would just recommend migrating to Ubuntu 18 or 19 to make sure that you’ve got all the latest security patches and also packages available.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel