httpsでkaliを更新

httpsでkaliを更新

Kaliシステムを更新するために大学のWi-Fiを使用していますが、何らかの理由でデータは受信されません。 WebブラウザでKali.orgを開こうとしましたが、正常に開かれたため、ファイアウォールがKali.orgをブロックしないと確信しています。私の推測では、ファイアウォールはHTTPヘッダーフィールドに基づいて大きなパケットをブロックしているようですが、content length小さなパケットもダウンロードできないのでわかりません。

システムを更新してHTTPSを介してパッケージをダウンロードして、これが問題であるかどうかを確認したいのですが、そのリポジトリが見つかりません。これ公式リポジトリはい

deb http://http.kali.org/kali kali-rolling main contrib non-free

これはHTTPです。 HTTPSリポジトリについてご存知ですか?

PS:他に質問がありますか?ワイヤレスネットワークではプロキシをまったく使用しないため、プロキシは不可能です。

編集する:ここに例があります。ところがモバイルインターネットに移ったら同じパッケージがエラーなくインストールになったんですよ。

$ sudo apt-get install aptitude
[sudo] password for papagolf: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  aptitude-common aptitude-doc-en libclass-accessor-perl libcwidget3v5
  libio-string-perl libparse-debianchangelog-perl
Suggested packages:
  apt-xapian-index libcwidget-dev libxml-simple-perl
The following NEW packages will be installed:
  aptitude aptitude-common aptitude-doc-en libclass-accessor-perl
  libcwidget3v5 libio-string-perl libparse-debianchangelog-perl
0 upgraded, 7 newly installed, 0 to remove and 1 not upgraded.
Need to get 3,677 kB of archives.
After this operation, 16.3 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://http.kali.org/kali kali-rolling/main amd64 aptitude-common all 0.7.5-3
  Connection failed
Err:2 http://http.kali.org/kali kali-rolling/main amd64 libcwidget3v5 amd64 0.5.17-4+b1
  Connection failed
Err:3 http://http.kali.org/kali kali-rolling/main amd64 aptitude amd64 0.7.5-3
  Connection failed
Err:4 http://http.kali.org/kali kali-rolling/main amd64 aptitude-doc-en all 0.7.5-3
  Connection failed
Err:5 http://http.kali.org/kali kali-rolling/main amd64 libclass-accessor-perl all 0.34-1
  Connection failed
Err:6 http://http.kali.org/kali kali-rolling/main amd64 libio-string-perl all 1.08-3
  Connection failed
Err:7 http://http.kali.org/kali kali-rolling/main amd64 libparse-debianchangelog-perl all 1.2.0-10
  Could not connect to http.kali.org:80 (192.99.200.113), connection timed out
E: Failed to fetch http://http.kali.org/kali/pool/main/a/aptitude/aptitude-common_0.7.5-3_all.deb  Connection failed
E: Failed to fetch http://http.kali.org/kali/pool/main/c/cwidget/libcwidget3v5_0.5.17-4+b1_amd64.deb  Connection failed
E: Failed to fetch http://http.kali.org/kali/pool/main/a/aptitude/aptitude_0.7.5-3_amd64.deb  Connection failed
E: Failed to fetch http://http.kali.org/kali/pool/main/a/aptitude/aptitude-doc-en_0.7.5-3_all.deb  Connection failed
E: Failed to fetch http://http.kali.org/kali/pool/main/libc/libclass-accessor-perl/libclass-accessor-perl_0.34-1_all.deb  Connection failed
E: Failed to fetch http://http.kali.org/kali/pool/main/libi/libio-string-perl/libio-string-perl_1.08-3_all.deb  Connection failed
E: Failed to fetch http://http.kali.org/kali/pool/main/libp/libparse-debianchangelog-perl/libparse-debianchangelog-perl_1.2.0-10_all.deb  Could not connect to http.kali.org:80 (192.99.200.113), connection timed out
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

ベストアンサー1

kaliにはHTTPSリポジトリがあります(2017年4月)。https://www.kali.org/news/kali-linux-repository-https-support/

# apt install apt-transport-https # yeah, I didn't miss the irony of this
# # please save a copy of your sources.list file before overwriting
# echo "deb https://http.kali.org/kali kali-rolling main non-free contrib" > /etc/apt/sources.list

おすすめ記事