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!
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
Hey, is there any solution with this? I have similar or even same problem with Debian 9:
W: The repository 'http://mirrors.digitalocean.com/ubuntu stretch Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://mirrors.digitalocean.com/ubuntu stretch-updates Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://mirrors.digitalocean.com/ubuntu stretch-backports Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://security.ubuntu.com/ubuntu stretch-security Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://mirrors.digitalocean.com/ubuntu/dists/stretch/universe/source/Sources 404 Not Found [IP: 104.24.117.209 80]
E: Failed to fetch http://mirrors.digitalocean.com/ubuntu/dists/stretch-updates/main/source/Sources 404 Not Found [IP: 104.24.117.209 80]
E: Failed to fetch http://mirrors.digitalocean.com/ubuntu/dists/stretch-backports/restricted/source/Sources 404 Not Found [IP: 104.24.117.209 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/stretch-security/restricted/source/Sources 404 Not Found [IP: 91.189.91.23 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Tried changing to Google’s public nameservers but still no luck
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.