源文件地址
vim /etc/apt/sources.list
修改源
注释掉原来的,增加几个国内的源。
1. 中科大源 http://mirrors.ustc.edu.cn/、
deb https://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
deb-src https://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
2. 阿里源 https://mirrors.aliyun.com/
deb http://mirrors.aliyun.com/kali kali main non-free contrib
deb-src http://mirrors.aliyun.com/kali kali main non-free contrib
deb http://mirrors.aliyun.com/kali-security kali/updates main contrib non-free
注:不知道为啥,阿里源会报错,所以我 没加这个
更新包列表 &&更新包
apt-get update && apt-get upgrate