Jump to content

Ubuntu 16.04 DNS & Update Problem


Karamjit

Recommended Posts

recently my Ubuntu 16.04 stopped updating. synaptic and other updating methods faild. i then googled the problem and found out that it is a DNS address problem.

some people say add a line (nameserver 8.8.8.8) in a file named "resolv.conf" . but i can't open this file as admin. please suggest a wise idea...

 

Edit: And Synaptic Package Manager Says as Below :

Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/InRelease

Link to comment
Share on other sites


  • Replies 3
  • Views 1.2k
  • Created
  • Last Reply
cd /

cd etc

sudo echo "nameserver 8.8.8.8" resolv.conf

or hit

sudo echo "nameserver 8.8.8.8" /etc/resolv.conf

won't this work?

Link to comment
Share on other sites


1 hour ago, DKMXNMVFGS said:

won't this work?

No. It didn't work

Link to comment
Share on other sites


Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...