换源地址
vim /etc/apt/sources.list
# See https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/
# deb http://http.kali.org/kali kali-rolling main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
# Additional line for source packages
# deb-src http://http.kali.org/kali kali-rolling main contrib non-free
deb-src https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
:wq!
报错解决
wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add
换源生效
apt-get update && apt-get upgrade && apt-get dist-upgrade
标签:non,kali,apt,换源,https,linux,contrib,main From: https://www.cnblogs.com/mlcode/p/kalisource.html