vim /etc/apt/sources.list
?
#阿里云
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
直接将上面的源复制到:? /etc/apt/sources.list中
将不用的源,前面加 #,注释掉
然后点ESC :wq!强制保存退出
更新源
apt-get update
?