0

For no apparent reason my Ubuntu suddenly stopped letting me install apts for example sudo apt-get update gets this response:

Err:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Could not resolve 'security.ubuntu.com'
Err:2 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Could not resolve 'us.archive.ubuntu.com'
Err:3 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
Could not resolve 'us.archive.ubuntu.com'
Err:4 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
Could not resolve 'us.archive.ubuntu.com'

Some answers suggested adding namespace 8.8.8.8 and 8.8.8.4 to resolv.conf as a first step however I cannot edit that file as it is a linked file type. I cannot modify it no matter what I do...

Using Ubuntu 68ubuntu1~18.04.1 on VMware partition of PC. This is a private install. Not an organization Can anyone help? Thanks!

DanW
  • 1

1 Answers1

0

The problem is your DNS, the DNS is configured in your resolv.conf, if this file 'dont exit' but is pointing to another file is not a problem, mine is too check with ls -ltr /etc/resolv.conf mine is pointing like that /etc/resolv.conf -> ../run/resolvconf/resolv.conf add in this file this line nameserver 1.1.1.1

So basically... only need to run: sudo echo "nameserver 1.1.1.1" >> /etc/resolv.conf

Caus
  • 1