2017-03-02 5 views
-1

Cofession : 나는 쉘과 네트워킹이있는 단지 noobie입니다. 이것이 일종의 실수라면 미안 해요!apt-get 알 수없는 IP에 연결하려고 시도합니다

apt-get은 내 셸에서 작동하지 않습니다. 그것은 ping에 응답조차 않는 IP (10.6.1.57)에 연결하는 것을 시도하고있는 것을 보인다.

이 내가 적절한 업데이트하려고 할 때 발생하는 것입니다 : 0 % [10.6.1.57에 연결을 (10.6.1.57)] {이가 계속 될 것으로 보인다 [10.6.1.57 (10.6.1.57)에 연결] 목록 파일에 대한 /etc/apt/sources.list.d/에서

# deb cdrom:[Ubuntu 14.04 LTS _Trusty Tahr_ - Release amd64 (20140417)]/ trusty main restricted 
 

 
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to 
 
# newer versions of the distribution. 
 
deb http://archive.ubuntu.com/ubuntu trusty main restricted 
 
deb-src http://archive.ubuntu.com/ubuntu trusty main restricted 
 

 
## Major bug fix updates produced after the final release of the 
 
## distribution. 
 
deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted 
 
deb-src http://archive.ubuntu.com/ubuntu trusty-updates main restricted 
 

 
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
 
## team. Also, please note that software in universe WILL NOT receive any 
 
## review or updates from the Ubuntu security team. 
 
deb http://archive.ubuntu.com/ubuntu trusty universe 
 
deb-src http://archive.ubuntu.com/ubuntu trusty universe 
 
deb http://archive.ubuntu.com/ubuntu trusty-updates universe 
 
deb-src http://archive.ubuntu.com/ubuntu trusty-updates universe 
 

 
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
 
## team, and may not be under a free licence. Please satisfy yourself as to 
 
## your rights to use the software. Also, please note that software in 
 
## multiverse WILL NOT receive any review or updates from the Ubuntu 
 
## security team. 
 
deb http://archive.ubuntu.com/ubuntu trusty multiverse 
 
deb-src http://archive.ubuntu.com/ubuntu trusty multiverse 
 
deb http://archive.ubuntu.com/ubuntu trusty-updates multiverse 
 
deb-src http://archive.ubuntu.com/ubuntu trusty-updates multiverse 
 

 
## N.B. software from this repository may not have been tested as 
 
## extensively as that contained in the main release, although it includes 
 
## newer versions of some applications which may provide useful features. 
 
## Also, please note that software in backports WILL NOT receive any review 
 
## or updates from the Ubuntu security team. 
 
deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse 
 
deb-src http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse 
 

 
deb http://archive.ubuntu.com/ubuntu trusty-security main restricted 
 
deb-src http://archive.ubuntu.com/ubuntu trusty-security main restricted 
 
deb http://archive.ubuntu.com/ubuntu trusty-security universe 
 
deb-src http://archive.ubuntu.com/ubuntu trusty-security universe 
 
deb http://archive.ubuntu.com/ubuntu trusty-security multiverse 
 
deb-src http://archive.ubuntu.com/ubuntu trusty-security multiverse 
 

 
## Uncomment the following two lines to add software from Canonical's 
 
## 'partner' repository. 
 
## This software is not part of Ubuntu, but is offered by Canonical and the 
 
## respective vendors as a service to Ubuntu users. 
 
deb http://archive.canonical.com/ubuntu trusty partner 
 
deb-src http://archive.canonical.com/ubuntu trusty partner 
 

 
## Uncomment the following two lines to add software from Ubuntu's 
 
## 'extras' repository. 
 
## This software is not part of Ubuntu, but is offered by third-party 
 
## developers who want to ship their latest software. 
 
deb http://extras.ubuntu.com/ubuntu trusty main 
 
deb-src http://extras.ubuntu.com/ubuntu trusty main

+0

'/ etc/apt/sources.list.d '에있는 파일 중이 IP가 하드 코딩되어 있는지 확인하십시오. 또는 일부 호스트 이름을 확인하는 동안 DNS가이 IP를 제공하고 있습니다. – anishsane

+1

프록시 서버를 사용합니까? – muru

+1

귀하의 질문은 [수퍼 유저] (http://superuser.com/tour)에 더 적합합니다. [Stack Overflow는 전문가 및 열성적 프로그래머를위한 질문 및 답변 사이트입니다] (http://stackoverflow.com/tour). – Cyrus

답변

1

확인 : 오랜 시간} 여기

내 /etc/apt/sources.list의 파일입니다 그 IP를 포함하고 있습니다.

+0

입니다. 아니, grep는 sources.list.d에 주어진 IP가있는 파일을 찾지 못했습니다 –

+0

죄송합니다. thnkz –

+0

도와주세요! –

0

이 파일도 확인하십시오 : /etc/apt/apt.conf.d/00apt-cacher-proxy 어쩌면 내 경우와 같은 프록시가 있습니다.