先安装的系统最好更新更新
apt-get update
apt-get upgrade
因为默认会去国外的网站去下载。。。。慢 为了速度 可以修改更新源 vim /etc/apt/sources.list
下面这位博客有很多的 再次感谢
http://www.cnblogs.com/Hi-blog/p/5955113.html
原文链接:http://www.cnblogs.com/dunitian/p/4712852.html
kali2.0官方下载地址: https://www.kali.org/downloads/
可能有奇效:
#中科大的源 deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
一、源列表
-----------kali2.0的更新源------------
#科大源 deb http://mirrors.ustc.edu.cn/kali sana main non-free contrib deb-src 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 http://mirrors.aliyun.com/kali sana main non-free contrib deb-src http://mirrors.aliyun.com/kali sana main non-free contrib deb http://mirrors.aliyun.com/kali-security sana/updates main contrib non-free
-----------kali1.0的更新源------------
#官方源 deb http://http.kali.org/kali kali main non-free contrib deb-src http://http.kali.org/kali kali main non-free contrib deb http://security.kali.org/kali-security kali/updates main contrib non-free #中科大kali源 deb http://mirrors.ustc.edu.cn/kali kali main non-free contrib deb-src http://mirrors.ustc.edu.cn/kali kali main non-free contrib deb http://mirrors.ustc.edu.cn/kali-security kali/updates main contrib non-free #新加坡kali源 deb http://mirror.nus.edu.sg/kali/kali/ kali main non-free contrib deb-src http://mirror.nus.edu.sg/kali/kali/ kali main non-free contrib deb http://security.kali.org/kali-security kali/updates main contrib non-free deb http://mirror.nus.edu.sg/kali/kali-security kali/updates main contrib non-free deb-src http://mirror.nus.edu.sg/kali/kali-security kali/updates main contrib non-free #阿里云kali源 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 #163 Kali源 deb http://mirrors.163.com/debian wheezy main non-free contrib deb-src http://mirrors.163.com/debian wheezy main non-free contrib deb http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib deb-src http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib deb-src http://mirrors.163.com/debian-security wheezy/updates main non-free contrib deb http://mirrors.163.com/debian-security wheezy/updates main non-free contrib #上海交大 Kali源 (比较慢,直接忽略) #deb http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib #deb-src http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib #deb http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib #deb-src http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib #deb http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib #deb-src http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib
-----------附上比较好用的kali源 64bits------------
deb http://http.kali.org/kali moto main non-free contrib deb-src http://http.kali.org/kali moto main non-free contrib deb http://security.kali.org/ moto/updates main contrib non-free deb-src http://security.kali.org/ moto/updates main contrib non-free #中科大kali源 deb http://mirrors.ustc.edu.cn/kali kali main non-free contrib deb-src http://mirrors.ustc.edu.cn/kali kali main non-free contrib deb http://mirrors.ustc.edu.cn/kali-security kali/updates main contrib non-free #新加坡kali源 deb http://mirror.nus.edu.sg/kali/kali/ kali main non-free contrib deb-src http://mirror.nus.edu.sg/kali/kali/ kali main non-free contrib deb http://security.kali.org/kali-security kali/updates main contrib non-free deb http://mirror.nus.edu.sg/kali/kali-security kali/updates main contrib non-free deb-src http://mirror.nus.edu.sg/kali/kali-security kali/updates main contrib non-free #阿里云kali源 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 #163 Kali源 deb http://mirrors.163.com/debian wheezy main non-free contrib deb-src http://mirrors.163.com/debian wheezy main non-free contrib deb http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib deb-src http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib deb-src http://mirrors.163.com/debian-security wheezy/updates main non-free contrib deb http://mirrors.163.com/debian-security wheezy/updates main non-free contrib
二、打开sources.list,将以上对应的源添加到源列表中(可以注释或删除掉之前的内容)
root@kali:~# vim /etc/apt/sources.list
三、系统更新
root@kali:~# apt-get update && apt-get upgrade && apt-get dist-upgrade Hit:1 http://mirrors.aliyun.com/kali sana InRelease Hit:2 http://mirrors.aliyun.com/kali-security sana/updates InRelease Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[注]kali2.0 阿里的源好用些,最后一步更新需要root权限,可使用: sudo -i