首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在https上更新kali

在https上更新kali
EN

Unix & Linux用户
提问于 2016-07-28 08:34:41
回答 1查看 2.9K关注 0票数 -1

我正在使用我学院的wifi来更新我的Kali系统,但是由于某种原因,它无法获取任何数据。我确信防火墙不会阻止Kali.org,因为我尝试在我的web浏览器中打开它,并且成功地打开了它。我最好的猜测是,防火墙基于header的content length字段阻塞了大量包,但我不确定,因为我甚至无法下载小包。

我想尝试通过HTTPS更新我的系统并下载包,这样我就可以确定这是(或者不是)问题,但是我找不到它的存储库。官方储存库

代码语言:javascript
复制
deb http://http.kali.org/kali kali-rolling main contrib non-free

也就是HTTP。你知道有HTTPS回购吗?

PS:还有其他问题吗?代理是不可能的,因为我们根本不使用代理在我们的无线网络。

编辑:下面是一个例子。但当我转移到我的移动互联网,相同的软件包安装没有任何错误。

代码语言:javascript
复制
$ 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?
EN

回答 1

Unix & Linux用户

发布于 2018-02-20 10:44:49

现在有一个用于kali的HTTPS存储库(4/2017);请参见https://www.kali.org/news/kali-linux-repository-https-support/

代码语言:javascript
复制
# 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
票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/298815

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档