Apt HTTPS transports

来自linux中国网wiki
docker>Evan2017年10月10日 (二) 06:12的版本
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳到导航 跳到搜索

apt HTTPS transports

root@kali:~# apt install apt-transport-https
root@kali:~# cat /etc/apt/sources.list
deb https://http.kali.org/kali kali-rolling main non-free contrib
# deb-src https://http.kali.org/kali kali-rolling main non-free contrib

Now any update or upgrade operation preformed against our mirrors will be HTTPS enabled:

root@kali:~# apt update
Hit:1 https://archive-3.kali.org/kali kali-rolling InRelease
Reading package lists... Done
root@kali:~#

参考

Kali Linux Repository HTTPS Support

Problem with apt-get update