Apt error: Temporary failure resolving 'deb.debian.org'
Apt is throwing a dns error. :(
This is digitalocean’s image, and I haven’t done anything on it yet. (Other than changing the dns servers from google to opendns, didn’t work with google’s dns servers either).
Err:1 http://deb.debian.org/debian stretch InRelease
Temporary failure resolving ‘deb.debian.org’
Err:2 http://security.debian.org stretch/updates InRelease
Temporary failure resolving 'security.debian.org’
Err:3 http://deb.debian.org/debian stretch-updates InRelease
Temporary failure resolving 'deb.debian.org’
Reading package lists… Done
W: Failed to fetch http://deb.debian.org/debian/dists/stretch/InRelease Temporary failure resolving 'deb.debian.org’
W: Failed to fetch http://security.debian.org/dists/stretch/updates/InRelease Temporary failure resolving 'security.debian.org’
W: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/InRelease Temporary failure resolving 'deb.debian.org’
W: Some index files failed to download. They have been ignored, or old ones used instead.
root@leobuilt:~# ping deb.debian.org
PING static.debian.org (184.108.40.206) 56(84) bytes of data.
64 bytes from senfter.debian.org (220.127.116.11): icmpseq=1 ttl=49 time=154 ms
64 bytes from senfter.debian.org (18.104.22.168): icmpseq=2 ttl=49 time=153 ms
root@leobuilt:~# cat /etc/resolv.conf
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.×