Running Ubuntu 16.04 Xenial 64-bit minimal

when running apt-get update it hangs forever at 0% for de.archive.ubuntu.com

I tried pining google.com and I get 100% packets lost

I even uncommented "precedence ::ffff:0:0/96 100"

I'm stuck guys. Any help would be appreciated.

  • Could be a connection issue, try reconnecting to internet service.
    – Liso
    Dec 21, 2017 at 8:14
  • 2
    check your network connection. Dec 21, 2017 at 8:15

2 Answers 2


it seems there is a permission issue, so use sudo as prefix in terminal like:

sudo apt-get update

[sudo] password for username: enter your password here

as well as also check your internet connection there, thanks.


open your terminal (with ctrl+alt+t or typing terminal in your dash) and write sudo vim /etc/resolve.conf (i use vim you can use your editor but it is better that your editor hasn't gui like gedit) and then type your password and replace the ip address next of the nameserver with and then type

you can test this with or other dns address

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.