vim /etc/apt/sources.list
#阿里云deb http://mirrors.aliyun.com/kali kali-rolling main non-free contribdeb-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-freedeb-src https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
直接将上面的源复制到: /etc/apt/sources.list中
将不用的源,前面加 #,注释掉
然后点ESC :wq!强制保存退出
更新源
apt-get update