欢迎来到starnight_cyber的博客

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

posted @ 2016-10-13 08:37  starnight_cyber  阅读(14258)  评论(0编辑  收藏  举报