Fresh install of Ubuntu 16.04 Server tty1
26 packages can be updated
12 updates are security updates.
When I try to use sudo apt-get update
, this shows up:
Err:1 http://ro.archive.ubuntu.com/ubuntu xenial InRelease
temporary failure resolving 'ro.archive.ubuntu.com'
Err:2 http://ro.archive.ubuntu.com/ubuntu xenial-security InRelease
temporary failure resolving 'ro.archive.ubuntu.com'
Err:3 ... xenial-updates InRelease
temporary failure resolving 'ro.archive.ubuntu.com'
Err:4... xenial-backports InRelease
temporary failure resolving 'ro.archive.ubuntu.com'
Failed to fetch http://ro.archive.ubuntu.com/ubuntu xenial InRelease
temporary failure resolving 'ro.archive.ubuntu.com'
failed to fetch ....
...
some index failed to download. They gave been ignored,or old ones used instead.
I ran nslookup google.com
:
connection timed out; no servers could be reached
Now, I tried all I could find on the internet about this issue, like adding Google DNS server in /etc/resolv.conf
, then dpkg-reconfigure
etc. Nothing worked.
If you need any additional info in helping me resolve this problem I am happy to provide. I'm new to Ubuntu so I don't really know much. Any additional help is welcome.
Thank you in advance!
ubuntu
and.com
in the error message; if there is, it means you have a malformed/etc/apt/sources.list
file. Could you please post the contents of that file? – May 10 '16 at 12:31