1、 Kali Linux更新源
更换更新源,命令行中执行一下命令
/etc/apt/sources.list
2
替换sources.list里面的内容
可以使用以下三个源(使用一个即可)
#kali官方源
deb http://http.kali.org/kali kali-rolling main non-free contrib
#中科大的源
deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
deb http://mirrors.ustc.edu.cn/kali kali-rolling main contrib non-free
deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main contrib non-free
deb http://mirrors.ustc.edu.cn/kali-security kali-current/updates main contrib non-free
deb-src http://mirrors.ustc.edu.cn/kali-security kali-current/updates main contrib non-free
#阿里云源
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
#清华大学源
deb http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
3
执行 apt-get update 命令即可更新源
执行 apt-get upgrade 更新软件
然后安装下载更新,使用如下命令
apt-get dist-upgrade
#linux内核更新
apt-get install linux-headers-$(uname -r)
4
http://blog.csdn.net/joeblackzqq/article/details/8694431