
ubuntu.com에서 다운로드한 ubuntu 14.04의 새 복사본을 설치한 후 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
Ubuntu 패키지를 제공하는 서버에 대한 임시 연결마다 동일한 IP 주소에 대한 오류가 나타나는 것으로 보아 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 파일을 삭제하면 됩니다. (먼저 백업하는 것도 좋습니다 :)) 이 모든 정보는 우분투 12.04~14.04에 적용됩니다(내가 아는 한).