Hello, I have a problem there is his 3 days I reinitialize my droplet because of a problem and when I’m on it for the first time I try to update it but when I made the order “apt update” or “apt-get update” I get this error after about 5 min without anything happening:
Err: 1 http://mirrors.digitalocean.com/debian stretch InRelease Temporary failure resolving ‘mirrors.digitalocean.com’ Err: 2 http://security.debian.org stretch / updates InRelease Temporary failure resolving ‘security.debian.org’ Err: 3 http://mirrors.digitalocean.com/debian stretch-updates InRelease Temporary failure resolving ‘mirrors.digitalocean.com’ Reading package lists … Done Building dependency tree Reading state information … Done All packages are up to date. W: Failed to fetch http://mirrors.digitalocean.com/debian/dists/stretch/InRelease Temporary failure resolving ‘mirrors.digitalocean.com’ W: Failed to fetch http://security.debian.org/dists/stretch/updates/InRelease Temporary failure resolving ‘security.debian.org’ W: Failed to fetch http://mirrors.digitalocean.com/debian/dists/stretch-updates/InRelease Temporary failure resolving ‘mirrors.digitalocean.com’ W: Some index files failed to download. They have been ignored, or old ones used instead.
Why do I have this message?
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Hey, is there any solution with this? I have similar or even same problem with Debian 9:
Tried changing to Google’s public nameservers but still no luck
Is not working.
Hi,
From the output that you’ve provided us with it looks like your droplet is having general DNS trouble as it’s also unable to resolve domain names.
What is the current content of your
/etc/resolv.conf
file?Can you also try pinging well known domains like google.com?
Regards, Bobby