kali linux 更新升级(换源)
1.更新升级
更新索引文件
apt-get update
继续上一步因网络等问题丢失的更新数据
apt-get update --fix-missing
更新软件
apt-get upgrade
2.更新源的替换
vi /etc/apt/sources.list
这里选取几个比较好用的国内源
官方源
deb-src http://http.kali.org/kali/ kali-rolling main non-free contrib
deb http://http.kali.org/kali kali-rolling main non-free contrib
中科大源
deb http://mirrors.utsc.edu.cn/kali kali-rolling main non-free contrib
阿里云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