For some reason I cannot install new applications and also not run apt-get update on ubuntu 14 server
When i run apt-get update i get the following:
apt-get update
Err http://gb.archive.ubuntu.com trusty InRelease
Err http://security.ubuntu.com trusty-security InRelease
Err http://gb.archive.ubuntu.com trusty-updates InRelease
Err http://gb.archive.ubuntu.com trusty-backports InRelease
Err http://security.ubuntu.com trusty-security Release.gpg
Could not resolve 'security.ubuntu.com'
Err http://gb.archive.ubuntu.com trusty Release.gpg
Could not resolve 'gb.archive.ubuntu.com'
Err http://gb.archive.ubuntu.com trusty-updates Release.gpg
Could not resolve 'gb.archive.ubuntu.com'
Err http://gb.archive.ubuntu.com trusty-backports Release.gpg
Could not resolve 'gb.archive.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/trusty/InRelease
W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease
W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/trusty-backports/InRelease
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/InRelease
W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg Could not resolve 'gb.archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg Could not resolve 'security.ubuntu.com'
W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg Could not resolve 'gb.archive.ubuntu.com'
W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/trusty-backports/Release.gpg Could not resolve 'gb.archive.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
I have a net connection as pinging various IPs works.. is there a safe way of resetting the factory default (although i have not modified the list) the /etc/apt/source list?
Thanks, john
gb.archive.ubuntu.com
and/orsecurity.ubuntu.com
? – steeldriver Jan 11 '15 at 23:35