По некоторым причинам я не могу установить новые приложения и также не работать склонный - получают обновление на сервере человечности 14
Когда я работаю склонный - получают обновление, я получаю следующее:
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.
У меня есть сетевое соединение как проверка с помощью ping-запросов различных работ дюйм/с.. существует ли безопасный способ сбросить заводскую настройку (хотя я не изменил список), список/etc/apt/source?
Спасибо, Джон
nameserver <IP of the DNS server>
и перезапустите сеть путем выполнения /etc/init.d/networking restart
и посмотрите, работает ли это.hosts: files dns mdns4_minimal [NOTFOUND=return] mdns4
Можно найти обсуждение подобного вопроса здесь.
Если у вас есть брандмауэр, такой как UFW, вы можете добавить исключение или временно отключить брандмауэр. Иногда брандмауэр блокирует исходящие запросы, поэтому независимо от того, что вы измените в конфигурации сервера имен, он не будет работать, если брандмауэр не разрешит исходящий трафик или брандмауэр отключен.