編輯sources.list這個(gè)文件
sudo vi /etc/apt/sources.list
修改文件內(nèi)容為
# 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
# Additional line for source packages
#deb-src http://http.kali.org/kali kali-rolling main contrib non-free
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
ps:注意不要拼寫(xiě)錯(cuò)誤突雪,否則會(huì)報(bào)錯(cuò)
-更新配置
sudo apt-get update