
После установки свежей копии ubuntu 14.04, скачанной с ubuntu.com, я пытаюсь установить некоторые пакеты, будь то nodejs или apache2, он всегда говорит, что имя не найдено. Я немного поискал и нашел несколько ответов здесь
Невозможно установить файлы с помощью apt-get: «не удалось найти пакет»
http://ubuntuforums.org/showthread.php?t=2204637
http://ubuntuforums.org/showthread.php?t=2225203
но ни одно решение не помогло мне. У меня уже включены все источники -
Также, пробовал sudo apt-get update
много раз, но он возвращается
Некоторые выходные данные, подобные этому, говорят о невозможности загрузить или найти пакеты или что-то в этом роде -
Err http://in.archive.ubuntu.com trusty/universe Translation-en_IN
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty/universe Translation-en
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/restricted Sources
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/universe Sources
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/multiverse Sources
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/main Sources
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/main i386 Packages
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/restricted i386 Packages
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/universe i386 Packages
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/multiverse i386 Packages
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/main Translation-en_IN
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/main Translation-en
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/multiverse Translation-en_IN
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/multiverse Translation-en
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/restricted Translation-en_IN
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/restricted Translation-en
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/universe Translation-en_IN
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-updates/universe Translation-en
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/restricted Sources
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/universe Sources
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/multiverse Sources
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/main Sources
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/restricted i386 Packages
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/universe i386 Packages
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/main i386 Packages
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/main Translation-en_IN
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/main Translation-en
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/multiverse Translation-en_IN
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/multiverse Translation-en
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/restricted Translation-en_IN
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/restricted Translation-en
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/universe Translation-en_IN
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-backports/universe Translation-en
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/restricted Sources
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/universe Sources
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/multiverse Sources
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/main Sources
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/restricted i386 Packages
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/universe i386 Packages
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/multiverse i386 Packages
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/main i386 Packages
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/main Translation-en_IN
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/main Translation-en
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/multiverse Translation-en_IN
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/multiverse Translation-en
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/restricted Translation-en_IN
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/restricted Translation-en
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/universe Translation-en_IN
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty-proposed/universe Translation-en
Unable to connect to 80.112.143.217:80:
Err http://in.archive.ubuntu.com trusty/main Sources
Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/Release.gpg Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-backports/Release.gpg Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-proposed/Release.gpg Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://ppa.launchpad.net/chris-lea/node.js/ubuntu/dists/trusty/Release.gpg Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://ppa.launchpad.net/linrunner/tlp/ubuntu/dists/trusty/Release.gpg Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://ppa.launchpad.net/noobslab/apps/ubuntu/dists/trusty/Release.gpg Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://ppa.launchpad.net/thefanclub/ubuntu-after-install/ubuntu/dists/trusty/Release.gpg Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/trusty/Release.gpg Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/partner/source/Sources Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/partner/i18n/Translation-en_IN Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/partner/i18n/Translation-en Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/restricted/source/Sources Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/universe/source/Sources Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/multiverse/source/Sources Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/main/binary-i386/Packages Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/restricted/binary-i386/Packages Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/universe/binary-i386/Packages Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/multiverse/binary-i386/Packages Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/main/i18n/Translation-en_IN Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/main/i18n/Translation-en Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/multiverse/i18n/Translation-en_IN Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/multiverse/i18n/Translation-en Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/restricted/i18n/Translation-en_IN Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/restricted/i18n/Translation-en Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/universe/i18n/Translation-en_IN Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/universe/i18n/Translation-en Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/source/Sources Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/source/Sources Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/multiverse/source/Sources Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/source/Sources Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-i386/Packages Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/binary-i386/Packages Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-i386/Packages Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/multiverse/binary-i386/Packages Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/i18n/Translation-en_IN Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/i18n/Translation-en Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/multiverse/i18n/Translation-en_IN Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/multiverse/i18n/Translation-en Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/i18n/Translation-en_IN Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/restricted/i18n/Translation-en Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/i18n/Translation-en_IN Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/i18n/Translation-en Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/main/i18n/Translation-en_IN Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/main/i18n/Translation-en Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/multiverse/i18n/Translation-en_IN Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/multiverse/i18n/Translation-en Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/restricted/i18n/Translation-en_IN Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/restricted/i18n/Translation-en Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/universe/i18n/Translation-en_IN Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/universe/i18n/Translation-en Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://ppa.launchpad.net/chris-lea/node.js/ubuntu/dists/trusty/main/source/Sources Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://ppa.launchpad.net/chris-lea/node.js/ubuntu/dists/trusty/main/i18n/Translation-en_IN Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://ppa.launchpad.net/chris-lea/node.js/ubuntu/dists/trusty/main/i18n/Translation-en Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://ppa.launchpad.net/linrunner/tlp/ubuntu/dists/trusty/main/i18n/Translation-en_IN Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://ppa.launchpad.net/linrunner/tlp/ubuntu/dists/trusty/main/i18n/Translation-en Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/main/i18n/Translation-en_IN Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/main/i18n/Translation-en Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/main/source/Sources Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/restricted/source/Sources Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/trusty/main/i18n/Translation-en_IN Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/trusty/main/i18n/Translation-en Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-backports/restricted/source/Sources Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-backports/universe/source/Sources Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-backports/multiverse/source/Sources Unable to connect to 80.112.143.217:80:
sudo: unable to resolve host unknown-GG003AA-ACJ-SR5160IL
Err http://in.archive.ubuntu.com trusty InRelease
Err http://in.archive.ubuntu.com trusty-updates InRelease
Err http://in.archive.ubuntu.com trusty-backports InRelease
Err http://in.archive.ubuntu.com trusty-proposed InRelease
Err http://ppa.launchpad.net trusty InRelease
Err http://ppa.launchpad.net trusty InRelease
Err http://ppa.launchpad.net trusty InRelease
Err http://ppa.launchpad.net trusty InRelease
Err http://dl.google.com stable InRelease
Err http://ppa.launchpad.net trusty Release.gpg
Unable to connect to 80.112.143.217:80:
Err http://archive.ubuntu.com trusty InRelease
Err http://security.ubuntu.com trusty-security InRelease
Err http://archive.ubuntu.com trusty Release.gpg
Unable to connect to 80.112.143.217:80:
Err http://security.ubuntu.com trusty-security Release.gpg
Unable to connect to 80.112.143.217:80:
Err http://archive.canonical.com trusty InRelease
Err http://archive.canonical.com trusty Release.gpg
Unable to connect to 80.112.143.217:80:
Err http://extras.ubuntu.com trusty InRelease
Err http://extras.ubuntu.com trusty Release.gpg
Unable to connect to 80.112.143.217:80:
Reading package lists... Done
W: Failed to fetch http://ppa.launchpad.net/noobslab/apps/ubuntu/dists/trusty/InRelease
W: Failed to fetch http://ppa.launchpad.net/thefanclub/ubuntu-after-install/ubuntu/dists/trusty/InRelease
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-backports/Release.gpg Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty-proposed/Release.gpg Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://ppa.launchpad.net/chris-lea/node.js/ubuntu/dists/trusty/Release.gpg Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://ppa.launchpad.net/linrunner/tlp/ubuntu/dists/trusty/Release.gpg Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://ppa.launchpad.net/noobslab/apps/ubuntu/dists/trusty/Release.gpg Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://ppa.launchpad.net/thefanclub/ubuntu-after-install/ubuntu/dists/trusty/Release.gpg Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/Release.gpg Unable to connect to 80.112.143.217:80:
W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/trusty/Release.gpg Unable to connect to 80.112.143.217:80:
W: Some index files failed to download. They have been ignored, or old ones used instead.
Что мне теперь делать
решение1
Поскольку ошибка с одним и тем же IP-адресом появляется при каждом предварительном подключении к серверу, предоставляющему пакет Ubuntu, я думаю, что вы настроили веб-прокси, используя IP-адрес 80.112.143.217 и порт 80.
Быстрый поиск в Google показывает, что этот IP-адрес действительно связан с публичным веб-прокси.
В настоящее время он не отвечает ни на какие запросы, так что я, возможно, сейчас не работаю. Попробуйте удалить настройки прокси-сервера : System settings
-> Network
-> Network proxy
. Удалите или измените адрес прокси-сервера на тот, который работает, и нажмите Apply system wide
.
решение2
Похоже, что вы используете прокси для подключения к репозиториям. Возможно, файл конфигурации в /etc/apt/apt.conf неверен. Проверьте содержимое. Он должен быть в форме:
Acquire::http::proxy "http://<username>:<password>@<proxy>:<port>/";
Acquire::ftp::proxy "ftp://<username>:<password>@<proxy>:<port>/";
Acquire::https::proxy "https://<username>:<password>@<proxy>:<port>/";
имя пользователя не может быть адресом электронной почты!!! - имя пользователя и пароль могут быть пустыми - удалите < >
Если вы можете подключиться к Интернету напрямую, просто удалите файл /etc/apt/apt.conf. (Также рекомендуется сначала сделать его резервную копию :) ) Вся эта информация применима к Ubuntu 12.04 - 14.04 (насколько мне известно)