Apt HTTPS transports

来自linux中国网wiki
跳到导航 跳到搜索

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