2017-03-02 13 views
-1

Cofession:シェルとネットワーキングのノービーです。apt-getが不明なIPに接続しようとしています

apt-getは私のシェルでは動作しません。それはpingに応答しないIP(10.6.1.57)に接続しようとしているようです。

これは私がのapt-更新しようとすると何が起こるかです: 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

あなたの質問は[Super User](http://superuser.com/tour)に適しています。 [スタックオーバーフローは、プロと熱心なプログラマーのための質疑応答サイトです](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多分私の場合のようにプロキシがあります。

関連する問題