修改软件源APT-sources.list
vim /etc/apt/sources.list
可以删除该文件中的所有内容,也可以直接在文前添加新的APT源。
这里,输入依次按下”100dd”键,删除全部内容。
然后选择适合自己较快的源:
#中科大kali源
deb http://mirrors.ustc.edu.cn/kali sana main non-free contrib
deb http://mirrors.ustc.edu.cn/kali-security/ sana/updates main contrib non-free
deb-src http://mirrors.ustc.edu.cn/kali-security/ sana/updates main contrib non-free
#阿里云kali源
deb http://mirrors.aliyun.com/kali sana main non-free contrib
deb http://mirrors.aliyun.com/kali-security/ sana/updates main contrib non-free
deb-src http://mirrors.aliyun.com/kali-security/ sana/updates main contrib non-free
对软件进行一次整体更新:
apt-get update & apt-get upgrade
apt-get dist-upgrade
apt-get clean
(转自百度经验http://jingyan.baidu.com/article/454316ab6fb11af7a7c03ae0.html)