cp /etc/apt/sources.list /etc/apt/sources.list.bak
vi /etc/apt/sources.list
官方源
deb http://http.kali.org/kali kali-rolling main non-free contrib deb-src http://http.kali.org/kali kali-rolling main non-free contrib
建议国内使用阿里云的源
deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
清华大学
deb http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free deb-src https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
浙大
deb http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free deb-src http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
E: 仓库 “http://mirrors.aliyun.com/kali kali-rolling InRelease” 没有数字签名。
wget archive.kali.org/archive-key.asc
apt-key add archive-key.asc