For the last few days, when I run
sudo apt-get update, it fails because some of the hosts cannot be resolved. However, I can ping them, so they definitely are getting resolved. My internet is working great. I also have that red
! in a triangle up in the corner.
Here is a sample of the output from
steve@steve-ub:~$ sudo apt-get update Ign http://ppa.launchpad.net trusty InRelease Hit http://ppa.launchpad.net trusty Release.gpg Hit http://ppa.launchpad.net trusty Release Hit http://ppa.launchpad.net trusty/main amd64 Packages Hit http://ppa.launchpad.net trusty/main i386 Packages Ign http://ppa.launchpad.net trusty/main Translation-en_US Ign http://ppa.launchpad.net trusty/main Translation-en Err http://repo.steampowered.com precise InRelease Err http://repo.steampowered.com precise Release.gpg Could not resolve 'repo.steampowered.com' Err http://archive.canonical.com trusty InRelease Err http://extras.ubuntu.com trusty InRelease Err http://us.archive.ubuntu.com trusty InRelease
I cut some of the output here, continuing later:
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg Could not resolve 'us.archive.ubuntu.com' W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-backports/Release.gpg Could not resolve 'us.archive.ubuntu.com' W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg Could not resolve 'dl.google.com' W: Some index files failed to download. They have been ignored, or old ones used instead.
And yet, I can ping the hosts that could not be resolved:
steve@steve-ub:~$ ping us.archive.ubuntu.com PING us.archive.ubuntu.com (220.127.116.11) 56(84) bytes of data. 64 bytes from orobas.canonical.com (18.104.22.168): icmp_seq=1 ttl=49 time=59.8 ms ... steve@steve-ub:~$ ping repo.steampowered.com PING user-att-75-46-72-0.a1507.d.akamai.net (22.214.171.124) 56(84) bytes of data. 64 bytes from a23-72-83-64.deploy.static.akamaitechnologies.com (126.96.36.199): icmp_seq=1 ttl=56 time=20.8 ms
How can I get updates to work again?