I was upgrading my system (on laptop) from 16.04 to 17.04. To do so I upgraded from 16.04 to 16.10 to 17.04 using sudo do-release-upgrade -d
. It all went fine, until I tried opening my browsers (firefox and chrome). Then I performed a sudo apt-get update
and got the following. How do I fix this?
Err:1 http://dl.google.com/linux/chrome/deb stable InRelease Could not resolve 'dl.google.com'
0% [Working]
Err:2 http://ca.archive.ubuntu.com/ubuntu zesty InRelease Could not resolve 'ca.archive.ubuntu.com'
0% [Working]
Err:3 http://security.ubuntu.com/ubuntu zesty-security InRelease Could not resolve 'security.ubuntu.com'
0% [Working]
Err:4 http://ca.archive.ubuntu.com/ubuntu zesty-updates InRelease Could not resolve 'ca.archive.ubuntu.com'
0% [Working]
Err:5 http://ca.archive.ubuntu.com/ubuntu zesty-backports InRelease Could not resolve 'ca.archive.ubuntu.com'
Reading package lists... 0%
Reading package lists... Done
W: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/dists/zesty/InRelease Could not resolve 'ca.archive.ubuntu.com'
W: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/dists/zesty-updates/InRelease Could not resolve 'ca.archive.ubuntu.com'
W: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/dists/zesty-backports/InRelease Could not resolve 'ca.archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/zesty-security/InRelease Could not resolve 'security.ubuntu.com'
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/InRelease Could not resolve 'dl.google.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
$ exit
exit
Script done on Sat 15 Apr 2017 03:24:29 PM ADT
edit: This question has not been answered, and none of the other answered questions have solved this.
(edit: honestly, I have given up and downgraded back to 16.04)
{}
button in the editor or Ctrl+K) and you will be allowed to have as many URLs in it as you want. – Byte Commander Apr 15 '17 at 19:08ping -c4 ca.archive.ubuntu.com
? – Byte Commander Apr 15 '17 at 19:16terminal
typehost www.google.com
andhost 8.8.8.8
. The first one should fail, the second one should work. Then dops auxc | grep dns
. Tell us what happened. – heynnema Apr 15 '17 at 19:32Software & Updates
, Ubuntu Software tab, and change the server toServer for the United States
and see if that helps? Are you in Canada? – heynnema Apr 15 '17 at 20:36