クリーンインストールしましたkali-2.0.1-rpi.imgラズベリーパイB +から。ケーブルを介してMacに接続され、ネットワークは正常に動作します。 Webページを開き、PyからIPをpingできます。起動してrootとしてログインした後にパッケージを更新しようとすると、ファイルが見つからないというエラーが発生します。
root@kali: apt-get update
Ign http://security.kali.org sana/updates InRelease
Ign http://security.kali.org sana/updates Release.gpg
Ign http://http.kali.org sana InRelease
Ign http://http.kali.org sana Release.gpg
Ign http://security.kali.org sana/updates Release
Ign http://http.kali.org sana Release
Ign http://security.kali.org sana/updates/main armel Packages/DiffIndex
Ign http://security.kali.org sana/updates/contrib armel Packages/DiffIndex
Ign http://security.kali.org sana/updates/non-free armel Packages/DiffIndex
Err http://http.kali.org sana/main Sources
404 Not Found
Err http://security.kali.org sana/updates/main Sources
404 Not Found
Err http://security.kali.org sana/updates/contrib Sources
404 Not Found
Err http://http.kali.org sana/non-free Sources
404 Not Found
Err http://http.kali.org sana/contrib Sources
404 Not Found
Err http://security.kali.org sana/updates/non-free Sources
404 Not Found
Err http://http.kali.org sana/main armel Packages
404 Not Found
Err http://http.kali.org sana/non-free armel Packages
404 Not Found
Err http://http.kali.org sana/contrib armel Packages
404 Not Found
Ign http://security.kali.org sana/updates/contrib Translation-en
Ign http://http.kali.org sana/contrib Translation-en
Ign http://security.kali.org sana/updates/main Translation-en
Ign http://http.kali.org sana/main Translation-en
Ign http://security.kali.org sana/updates/non-free Translation-en
Ign http://http.kali.org sana/non-free Translation-en
Err http://security.kali.org sana/updates/main armel Packages
404 Not Found
Err http://security.kali.org sana/updates/contrib armel Packages
404 Not Found
Err http://security.kali.org sana/updates/non-free armel Packages
404 Not Found
W: Failed to fetch http://security.kali.org/kali-security/dists/sana/updates/main/source/Sources 404 Not Found
W: Failed to fetch http://security.kali.org/kali-security/dists/sana/updates/contrib/source/Sources 404 Not Found
W: Failed to fetch http://security.kali.org/kali-security/dists/sana/updates/non-free/source/Sources 404 Not Found
W: Failed to fetch http://http.kali.org/kali/dists/sana/main/source/Sources 404 Not Found
W: Failed to fetch http://http.kali.org/kali/dists/sana/non-free/source/Sources 404 Not Found
W: Failed to fetch http://http.kali.org/kali/dists/sana/contrib/source/Sources 404 Not Found
W: Failed to fetch http://http.kali.org/kali/dists/sana/main/binary-armel/Packages 404 Not Found
W: Failed to fetch http://http.kali.org/kali/dists/sana/non-free/binary-armel/Packages 404 Not Found
W: Failed to fetch http://http.kali.org/kali/dists/sana/contrib/binary-armel/Packages 404 Not Found
W: Failed to fetch http://security.kali.org/kali-security/dists/sana/updates/main/binary-armel/Packages 404 Not Found
W: Failed to fetch http://security.kali.org/kali-security/dists/sana/updates/contrib/binary-armel/Packages 404 Not Found
W: Failed to fetch http://security.kali.org/kali-security/dists/sana/updates/non-free/binary-armel/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
apt-get
どのファイルを探しているかを確認すると
root@kali:~# apt-get update --print-uris
'http://security.kali.org/kali-security/dists/sana/updates/main/source/Sources.bz2' security.kali.org_kali-security_dists_sana_updates_main_source_Sources 0 :
'http://security.kali.org/kali-security/dists/sana/updates/contrib/source/Sources.bz2' security.kali.org_kali-security_dists_sana_updates_contrib_source_Sources 0 :
'http://security.kali.org/kali-security/dists/sana/updates/non-free/source/Sources.bz2' security.kali.org_kali-security_dists_sana_updates_non-free_source_Sources 0 :
'http://security.kali.org/kali-security/dists/sana/updates/main/binary-armel/Packages.bz2' security.kali.org_kali-security_dists_sana_updates_main_binary-armel_Packages 0 :
'http://security.kali.org/kali-security/dists/sana/updates/contrib/binary-armel/Packages.bz2' security.kali.org_kali-security_dists_sana_updates_contrib_binary-armel_Packages 0 :
'http://security.kali.org/kali-security/dists/sana/updates/non-free/binary-armel/Packages.bz2' security.kali.org_kali-security_dists_sana_updates_non-free_binary-armel_Packages 0 :
'http://security.kali.org/kali-security/dists/sana/updates/contrib/i18n/Translation-en.bz2' security.kali.org_kali-security_dists_sana_updates_contrib_i18n_Translation-en 0 :
'http://security.kali.org/kali-security/dists/sana/updates/main/i18n/Translation-en.bz2' security.kali.org_kali-security_dists_sana_updates_main_i18n_Translation-en 0 :
'http://security.kali.org/kali-security/dists/sana/updates/non-free/i18n/Translation-en.bz2' security.kali.org_kali-security_dists_sana_updates_non-free_i18n_Translation-en 0 :
'http://security.kali.org/kali-security/dists/sana/updates/InRelease' security.kali.org_kali-security_dists_sana_updates_InRelease 0
'http://http.kali.org/kali/dists/sana/main/source/Sources.bz2' http.kali.org_kali_dists_sana_main_source_Sources 0 :
'http://http.kali.org/kali/dists/sana/non-free/source/Sources.bz2' http.kali.org_kali_dists_sana_non-free_source_Sources 0 :
'http://http.kali.org/kali/dists/sana/contrib/source/Sources.bz2' http.kali.org_kali_dists_sana_contrib_source_Sources 0 :
'http://http.kali.org/kali/dists/sana/main/binary-armel/Packages.bz2' http.kali.org_kali_dists_sana_main_binary-armel_Packages 0 :
'http://http.kali.org/kali/dists/sana/non-free/binary-armel/Packages.bz2' http.kali.org_kali_dists_sana_non-free_binary-armel_Packages 0 :
'http://http.kali.org/kali/dists/sana/contrib/binary-armel/Packages.bz2' http.kali.org_kali_dists_sana_contrib_binary-armel_Packages 0 :
'http://http.kali.org/kali/dists/sana/contrib/i18n/Translation-en.bz2' http.kali.org_kali_dists_sana_contrib_i18n_Translation-en 0 :
'http://http.kali.org/kali/dists/sana/main/i18n/Translation-en.bz2' http.kali.org_kali_dists_sana_main_i18n_Translation-en 0 :
'http://http.kali.org/kali/dists/sana/non-free/i18n/Translation-en.bz2' http.kali.org_kali_dists_sana_non-free_i18n_Translation-en 0 :
'http://http.kali.org/kali/dists/sana/InRelease' http.kali.org_kali_dists_sana_InRelease 0
ロードしようとしていることがわかりますSources.bz2
。しかし、 ファイルディレクトリブラウザには1つしかSources.gz
使用できないと表示されます。
apt-get
gzipのバージョンをロードする方法を知っていますか?
答え1
今回は、デフォルトでは問題がモニターの前面にありますが、まだ設定できるオプションが見つかりました。
apt-get -o Acquire::CompressionTypes::Order::=gz update
これで代わりにgetを試みる--print-uris
ディスプレイが追加されました。apt-get
gz
bz2
gz
しかし、もともと述べたように、コマンドは間違いなく利用可能なファイルを検索するためにまだ失敗するので、これは大きな問題ではありません。通常、apt-get
いくつかのタイプが検索され、可能であればgzip圧縮バージョンを取得できます。
ここで問題は、pow
Macにインストールすることです。 piへのネットワーク接続により、ping
外部世界への接続が可能で、誰でもwget
ページをダウンロードできます。ただし、実際のページではありませんが、Macからpowページをダウンロードできます。したがって、更新サーバーに接続されません。