DigitalOcean mirrors failing?
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.×
A question can only have one accepted answer. Are you sure you want to replace the current answer with this one?
You previously marked this answer as accepted. Are you sure you want to unaccept it?
I opened a ticket with Digital Ocean and this was the fix for me:
Are you by chance using Ubuntu 14.04 on the Droplet having issues?
The reason for that particular error has to do with Ubuntu 14.04 that is now end of life (EOL). The issue is known by Ubuntu, but is unlikely to get major attention due to it being EOL.
In order to workaround the issue, you will need to update “/etc/apt/sources.list.d/digitalocean-agent.list” manually to use http instead of https as follows:
sed -i ’s/https/http/g’ /etc/apt/sources.list.d/digitalocean-agent.list
sudo apt-get update
sudo apt-get install do-agent
I also had problems with this, when doing a
do-release-upgrade on a 14.04 droplet
Here’s what fixed it for me: