apt-getが特定の画像を使用するのを防ぐ

apt-getが特定の画像を使用するのを防ぐ

使っていますキューバX1、私のCubietruck ARMボード上のカスタムDebian wheezyディストリビューションです。

走る適切なアップデートを入手mirror.isoc.org.ilイラン内でフィルタリングされたミラーとイスラエルでホストされている他のドメイン/ IPに接続しようとすると失敗します。

内容は次のとおりです/etc/apt/sources.list

deb http://http.debian.net/debian/ wheezy main contrib non-free
deb http://http.debian.net/debian/ wheezy-updates main contrib non-free
deb http://http.debian.net/debian wheezy-backports main
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb http://packages.cubian.org/ wheezy main non-free
deb http://repo.ajenti.org/debian main main debian

私はコメントしました。isoc.org.il次の2つの文書にも参考資料があります。

  • /usr/share/python-apt/templates/Ubuntu.mirrors
  • /usr/share/python-apt/templates/Debian.mirrors

しかし、適切なアップデートを入手次のメッセージでまだ失敗します。

W: Failed to fetch http://http.debian.net/debian/dists/wheezy/Release.gpg  Could not connect to mirror.isoc.org.il:80 (192.115.211.70). - connect (110: Connection timed out)

W: Failed to fetch http://http.debian.net/debian/dists/wheezy-updates/Release.gpg  Unable to connect to mirror.isoc.org.il:http:

W: Failed to fetch http://http.debian.net/debian/dists/wheezy-backports/Release.gpg  Unable to connect to mirror.isoc.org.il:http:

apt-getがなぜまだmirror.isoc.org.ilのようなミラーを使用しようとしているのかわかりません。おそらく最も近いミラーと見なすことができます。 apt-getを別の画像にリンクするように指示する方法はありますか?

次は専門です適切なアップデートを入手出力:

cubie@Cubian:~$ sudo apt-get update
Get:1 http://repo.ajenti.org main Release.gpg [490 B]
Get:2 http://packages.cubian.org wheezy Release.gpg [316 B]
Hit http://repo.ajenti.org main Release
Get:3 http://security.debian.org wheezy/updates Release.gpg [836 B]
Hit http://packages.cubian.org wheezy Release
Hit http://repo.ajenti.org main/main armhf Packages
Hit http://packages.cubian.org wheezy/main armhf Packages
Hit http://security.debian.org wheezy/updates Release
Hit http://packages.cubian.org wheezy/non-free armhf Packages
Hit http://repo.ajenti.org main/debian armhf Packages
Hit http://security.debian.org wheezy/updates/main armhf Packages
Get:4 http://http.debian.net wheezy Release.gpg [1,655 B]
Hit http://packages.cubian.org wheezy/main Translation-en_US
Hit http://security.debian.org wheezy/updates/contrib armhf Packages
Hit http://packages.cubian.org wheezy/main Translation-en
Get:5 http://http.debian.net wheezy-updates Release.gpg [836 B]
Hit http://packages.cubian.org wheezy/non-free Translation-en_US
Hit http://security.debian.org wheezy/updates/non-free armhf Packages
Get:6 http://http.debian.net wheezy-backports Release.gpg [836 B]
Hit http://packages.cubian.org wheezy/non-free Translation-en
Hit http://security.debian.org wheezy/updates/contrib Translation-en
Hit http://http.debian.net wheezy Release
Hit http://security.debian.org wheezy/updates/main Translation-en
Hit http://http.debian.net wheezy-updates Release
Hit http://security.debian.org wheezy/updates/non-free Translation-en
Hit http://http.debian.net wheezy-backports Release
Hit http://http.debian.net wheezy/main armhf Packages
Hit http://http.debian.net wheezy/contrib armhf Packages
Hit http://http.debian.net wheezy/non-free armhf Packages
Hit http://http.debian.net wheezy/contrib Translation-en
Hit http://http.debian.net wheezy/main Translation-en
Hit http://http.debian.net wheezy/non-free Translation-en
Hit http://http.debian.net wheezy-updates/main armhf Packages/DiffIndex
Hit http://http.debian.net wheezy-updates/contrib armhf Packages
Hit http://http.debian.net wheezy-updates/non-free armhf Packages
Hit http://http.debian.net wheezy-updates/contrib Translation-en
Ign http://repo.ajenti.org main/debian Translation-en_US
Hit http://http.debian.net wheezy-updates/main Translation-en/DiffIndex
Ign http://repo.ajenti.org main/debian Translation-en
Ign http://repo.ajenti.org main/main Translation-en_US
Ign http://repo.ajenti.org main/main Translation-en
Hit http://http.debian.net wheezy-updates/non-free Translation-en
Hit http://http.debian.net wheezy-backports/main armhf Packages/DiffIndex
Hit http://http.debian.net wheezy-backports/main Translation-en/DiffIndex
Fetched 4,969 B in 18s (268 B/s)
Reading package lists... Done
cubie@Cubian:~$ sudo apt-get update
Get:1 http://repo.ajenti.org main Release.gpg [490 B]
Hit http://security.debian.org wheezy/updates Release.gpg
Get:2 http://repo.ajenti.org main Release [11.1 kB]
Hit http://packages.cubian.org wheezy Release.gpg
Hit http://security.debian.org wheezy/updates Release
Hit http://repo.ajenti.org main/main armhf Packages
Hit http://packages.cubian.org wheezy Release
Hit http://packages.cubian.org wheezy/main armhf Packages
Hit http://security.debian.org wheezy/updates/main armhf Packages
Get:3 http://repo.ajenti.org main/debian armhf Packages [1,468 B]
Hit http://packages.cubian.org wheezy/non-free armhf Packages
Hit http://security.debian.org wheezy/updates/contrib armhf Packages
Hit http://packages.cubian.org wheezy/main Translation-en_US
Hit http://security.debian.org wheezy/updates/non-free armhf Packages
Hit http://packages.cubian.org wheezy/main Translation-en
Hit http://security.debian.org wheezy/updates/contrib Translation-en
Hit http://packages.cubian.org wheezy/non-free Translation-en_US
Hit http://security.debian.org wheezy/updates/main Translation-en
Hit http://packages.cubian.org wheezy/non-free Translation-en
Hit http://security.debian.org wheezy/updates/non-free Translation-en
Ign http://repo.ajenti.org main/debian Translation-en_US
Ign http://repo.ajenti.org main/debian Translation-en
Ign http://repo.ajenti.org main/main Translation-en_US
Ign http://repo.ajenti.org main/main Translation-en
Err http://http.debian.net wheezy Release.gpg
  Could not connect to mirror.isoc.org.il:80 (192.115.211.70). - connect (110: Connection timed out)
Err http://http.debian.net wheezy-updates Release.gpg
  Unable to connect to mirror.isoc.org.il:http:
Err http://http.debian.net wheezy-backports Release.gpg
  Unable to connect to mirror.isoc.org.il:http:
Hit http://http.debian.net wheezy Release
Hit http://http.debian.net wheezy-updates Release
Hit http://http.debian.net wheezy-backports Release
Ign http://http.debian.net wheezy/main armhf Packages/DiffIndex
Ign http://http.debian.net wheezy/contrib armhf Packages/DiffIndex
Ign http://http.debian.net wheezy/non-free armhf Packages/DiffIndex
Hit http://http.debian.net wheezy/contrib Translation-en
Hit http://http.debian.net wheezy/main Translation-en
Hit http://http.debian.net wheezy/non-free Translation-en
Hit http://http.debian.net wheezy-updates/main armhf Packages/DiffIndex
Ign http://http.debian.net wheezy-updates/contrib armhf Packages/DiffIndex
Ign http://http.debian.net wheezy-updates/non-free armhf Packages/DiffIndex
Hit http://http.debian.net wheezy-updates/contrib Translation-en
Hit http://http.debian.net wheezy-updates/main Translation-en/DiffIndex
Hit http://http.debian.net wheezy-updates/non-free Translation-en
Hit http://http.debian.net wheezy-backports/main armhf Packages/DiffIndex
Hit http://http.debian.net wheezy-backports/main Translation-en/DiffIndex
Hit http://http.debian.net wheezy/main armhf Packages
Hit http://http.debian.net wheezy/contrib armhf Packages
Hit http://http.debian.net wheezy/non-free armhf Packages
Hit http://http.debian.net wheezy-updates/contrib armhf Packages
Hit http://http.debian.net wheezy-updates/non-free armhf Packages
Fetched 13.1 kB in 2min 9s (101 B/s)
W: Failed to fetch http://http.debian.net/debian/dists/wheezy/Release.gpg  Could not connect to mirror.isoc.org.il:80 (192.115.211.70). - connect (110: Connection timed out)

W: Failed to fetch http://http.debian.net/debian/dists/wheezy-updates/Release.gpg  Unable to connect to mirror.isoc.org.il:http:

W: Failed to fetch http://http.debian.net/debian/dists/wheezy-backports/Release.gpg  Unable to connect to mirror.isoc.org.il:http:

E: Some index files failed to download. They have been ignored, or old ones used instead.

ベストアンサー1

Replese.gpgを削除する方法が見つかりませんマークは言う

それにもかかわらず、私はapt-get installまだisoc.org.il

この問題を解決するために、固定ミラー(USミラー)を使用して最初の4行を作成しました。debgen.simplylinux.ch。これが最後の作業ですsources.list

deb http://ftp.us.debian.org/debian wheezy main contrib non-free
deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb http://ftp.debian.org/debian/ wheezy-backports main
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb http://packages.cubian.org/ wheezy main non-free
deb http://repo.ajenti.org/debian main main debian

おすすめ記事