Возможный дубликат:
apt-get update не может получить файлы, ошибка «Устранение временного сбоя…»
Я знаю, что это уже упоминалось ранее, но я не могу решить свою проблему. Вот мой результат.
jake@KUBIE-SERVER:~$ sudo apt-get update
Err http://us.archive.ubuntu.com precise InRelease
Err http://us.archive.ubuntu.com precise-updates InRelease
Err http://us.archive.ubuntu.com precise-backports InRelease
Err http://security.ubuntu.com precise-security InRelease
Err http://archive.canonical.com precise InRelease
Err http://ppa.launchpad.net precise InRelease
Err http://archive.canonical.com precise Release.gpg
Temporary failure resolving 'archive.canonical.com'
Err http://ppa.launchpad.net precise Release.gpg
Temporary failure resolving 'ppa.launchpad.net'
Err http://security.ubuntu.com precise-security Release.gpg
Temporary failure resolving 'security.ubuntu.com'
Err http://us.archive.ubuntu.com precise Release.gpg
Temporary failure resolving 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com precise-updates Release.gpg
Temporary failure resolving 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com precise-backports Release.gpg
Temporary failure resolving 'us.archive.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise/InRelease
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise- updates/InRelease
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise- backports/InRelease
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/precise-security/InRelease
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/precise/InRelease
W: Failed to fetch http://ppa.launchpad.net/webupd8team/java/ubuntu/dists/precise/InRelease
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg Temporary failure resolving 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise- updates/Release.gpg Temporary failure resolving 'us.archive.ubuntu.com'
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise- backports/Release.gpg Temporary failure resolving 'us.archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/precise- security/Release.gpg Temporary failure resolving 'security.ubuntu.com'
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/precise/Release.gpg Temporary failure resolving 'archive.canonical.com'
W: Failed to fetch http://ppa.launchpad.net/webupd8team/java/ubuntu/dists/precise/Release.gpg Temporary failure resolving 'ppa.launchpad.net'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Любая помощь приветствуется.
У меня была та же ошибка. Я первоначально думал, что это была ошибка в /etc/apt/sources.list
но после выполнения a ping
из не только security.ubuntu.com
но google.com
также, я нашел, что мой сервер соединялся с сетью, но достигал вне сети.
Я отредактировал /etc/network/interfaces
и набор eth0
кому: DHCP
вместо помех. У меня затем был свой маршрутизатор, заботятся о предоставлении сервера статического IP. Перезагрузите сервер и все хорошо работать.
Можно узнать больше о конфигурациях IP здесь.
Вы больше не указывали детали к окружающим обстоятельствам, которые могли бы объяснить, что находится позади Вашей проблемы.
Скажите его, у Вас, кажется, есть некоторые проблемы управления пакета, вероятно, из-за зеркала, которое Вы используете, кто может отсутствовать или нуждающейся в обновлении для Precise
пакеты, которые Вы запрашиваете.
Попробуйте это:
Откройте терминал и тип:
sudo nano /etc/apt/sources.list
Отредактировать Ваш исходный файл.
В очень beggining, добавьте это строки:
deb mirror://mirrors.ubuntu.com/mirrors.txt precise main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt precise-updates main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt precise-backports main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt precise-security main restricted universe multiverse
Это должно сказать apt-get
автоматически выбрать зеркало для Вас, на основе Вашего географического положения.
Сохраните файл и обновите свои источники:
sudo apt-get update
Это предполагает, что Вы не испытываете интернет-соединения или проблем DNS.
Надеюсь, это поможет.