Question

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 (5.153.231.4) 56(84) bytes of data. 64 bytes from senfter.debian.org (5.153.231.4): icmp_seq=1 ttl=49 time=154 ms 64 bytes from senfter.debian.org (5.153.231.4): icmp_seq=2 ttl=49 time=153 ms “”"

“”" root@leobuilt:~# cat /etc/resolv.conf nameserver 208.67.222.222 nameserver 208.67.220.220 “”"

Subscribe
Share

Submit an 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.

I have got the problem" Temporary failure resolving 'deb.debian.org" i tried chmod o+r /etc/resolv.conf but its says operation not permitted. what should i do to make it work.

… to be continued. I got droplet working after I realized that /etc/resolv.conf had rw+rw— permissions. Giving a command: chmod o+r /etc/resolv.conf helped me to get all done and working nicely. Hope this helps.

… to be continued. I got droplet working after I realized that /etc/resolv.conf had rw+rw— permissions. Giving a command: chmod o+r /etc/resolv.conf helped me to get all done and working nicely. Hope this helps.

… to be continued. I got droplet working after I realized that /etc/resolv.conf had rw+rw— permissions. Giving a command: chmod o+r /etc/resolv.conf helped me to get all done and working nicely. Hope this helps.

… to be continued. I got droplet working after I realized that /etc/resolv.conf had rw+rw— permissions. Giving a command: chmod o+r /etc/resolv.conf helped me to get all done and working nicely. Hope this helps.

… to be continued. I got droplet working after I realized that /etc/resolv.conf had rw+rw— permissions. Giving a command: chmod o+r /etc/resolv.conf helped me to get all done and working nicely. Hope this helps.

… to be continued. I got droplet working after I realized that /etc/resolv.conf had rw+rw— permissions. Giving a command: chmod o+r /etc/resolv.conf helped me to get all done and working nicely. Hope this helps.

… to be continued. I got droplet working after I realized that /etc/resolv.conf had rw+rw— permissions. Giving a command: chmod o+r /etc/resolv.conf helped me to get all done and working nicely. Hope this helps.

… to be continued. I got droplet working after I realized that /etc/resolv.conf had rw+rw— permissions. Giving a command: chmod o+r /etc/resolv.conf helped me to get all done and working nicely. Hope this helps.

… to be continued. I got droplet working after I realized that /etc/resolv.conf had rw+rw— permissions. Giving a command: chmod o+r /etc/resolv.conf helped me to get all done and working nicely. Hope this helps.