kali更新源
原文链接: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
二、添加源
打开sources.list,将以上对应的源添加到源列表中(可以注释或删除掉之前的内容)
root@kali:~# vim /etc/apt/sources.list
#中科大的源 deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
三、系统更新
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
-------------------------------------------
个性签名:如果世上的事都按你说的道理走 世界就不是现在这样了!
如果觉得这篇文章对你有小小的帮助的话,记得在右下角点个“推荐”哦,博主在此感谢!