I want to run apt update and apt install vsftpd in a fresh Ubuntu 24.04 Droplet on DigitalOcean but keep getting this issue where it fails to resolve some packages:
Ign:1 http://mirrors.digitalocean.com/ubuntu noble InRelease Ign:2 http://security.ubuntu.com/ubuntu noble-security InRelease Ign:3 http://mirrors.digitalocean.com/ubuntu noble-updates InRelease Ign:2 http://security.ubuntu.com/ubuntu noble-security InRelease Ign:4 http://mirrors.digitalocean.com/ubuntu noble-backports InRelease Ign:2 http://security.ubuntu.com/ubuntu noble-security InRelease Ign:1 http://mirrors.digitalocean.com/ubuntu noble InRelease Err:2 http://security.ubuntu.com/ubuntu noble-security InRelease Temporary failure resolving ‘security.ubuntu.com’ Ign:3 http://mirrors.digitalocean.com/ubuntu noble-updates InRelease Ign:4 http://mirrors.digitalocean.com/ubuntu noble-backports InRelease Ign:1 http://mirrors.digitalocean.com/ubuntu noble InRelease Ign:3 http://mirrors.digitalocean.com/ubuntu noble-updates InRelease Ign:4 http://mirrors.digitalocean.com/ubuntu noble-backports InRelease Err:1 http://mirrors.digitalocean.com/ubuntu noble InRelease Temporary failure resolving ‘mirrors.digitalocean.com’ Err:3 http://mirrors.digitalocean.com/ubuntu noble-updates InRelease Temporary failure resolving ‘mirrors.digitalocean.com’ Err:4 http://mirrors.digitalocean.com/ubuntu noble-backports InRelease Temporary failure resolving ‘mirrors.digitalocean.com’ Reading package lists… Done W: Failed to fetch http://mirrors.digitalocean.com/ubuntu/dists/noble/InRelease Temporary failure resolving ‘mirrors.digitalocean.com’ W: Failed to fetch http://mirrors.digitalocean.com/ubuntu/dists/noble-updates/InRelease Temporary failure resolving ‘mirrors.digitalocean.com’ W: Failed to fetch http://mirrors.digitalocean.com/ubuntu/dists/noble-backports/InRelease Temporary failure resolving ‘mirrors.digitalocean.com’ W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/noble-security/InRelease Temporary failure resolving ‘security.ubuntu.com’ W: Some index files failed to download. They have been ignored, or old ones used instead.
The issue is that I need these commands to be ran via a remote-exec on Terraform. The remote-exec will fail because it gives an warning/error.
Even when I run the install vsftpd it fails with errors. I’ve searched numerous solutions with setting nameservers to 8.8.8.8, changing mirrors but none of it works… Anyone know a solution to this? Its a fresh DO Droplet.
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.
Heya,
Before making any changes, verify if the issue is truly DNS-related or if there’s a broader network problem.
Run:
If this works try:
If this fails, your DNS is likely the problem. If it doesn’t it’s something else.
Let’s start with that and take it from there.
Hi there,
Have you tried checking if networking is working:
If that works but
ping google.com
fails, your DNS is the issue.You can follow the steps outlined in this DigitalOcean Community answer
Let me know how it goes!
- Bobby