你的位置:首页 > 操作系统

[操作系统]kali更新源


原文链接:http://www.cnblogs.com/dunitian/p/4712852.html

一、源列表

-----------kali2.0的更新源------------

#科大源deb http://mirrors.ustc.edu.cn/kali sana main non-free contribdeb-src http://mirrors.ustc.edu.cn/kali sana main non-free contribdeb http://mirrors.ustc.edu.cn/kali-security sana/updates main contrib non-free#阿里源-较好用deb http://mirrors.aliyun.com/kali sana main non-free contribdeb-src http://mirrors.aliyun.com/kali sana main non-free contribdeb http://mirrors.aliyun.com/kali-security sana/updates main contrib non-free

-----------kali1.0的更新源------------

#官方源deb http://http.kali.org/kali kali main non-free contribdeb-src http://http.kali.org/kali kali main non-free contribdeb http://security.kali.org/kali-security kali/updates main contrib non-free#中科大kali源deb http://mirrors.ustc.edu.cn/kali kali main non-free contribdeb-src http://mirrors.ustc.edu.cn/kali kali main non-free contribdeb 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 contribdeb-src http://mirror.nus.edu.sg/kali/kali/ kali main non-free contribdeb http://security.kali.org/kali-security kali/updates main contrib non-freedeb http://mirror.nus.edu.sg/kali/kali-security kali/updates main contrib non-freedeb-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 contribdeb-src http://mirrors.aliyun.com/kali kali main non-free contribdeb 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 contribdeb-src http://http.kali.org/kali moto main non-free contribdeb http://security.kali.org/ moto/updates main contrib non-freedeb-src http://security.kali.org/ moto/updates main contrib non-free#中科大kali源deb http://mirrors.ustc.edu.cn/kali kali main non-free contribdeb-src http://mirrors.ustc.edu.cn/kali kali main non-free contribdeb 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 contribdeb-src http://mirror.nus.edu.sg/kali/kali/ kali main non-free contribdeb http://security.kali.org/kali-security kali/updates main contrib non-freedeb http://mirror.nus.edu.sg/kali/kali-security kali/updates main contrib non-freedeb-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 contribdeb-src http://mirrors.aliyun.com/kali kali main non-free contribdeb 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-upgradeHit:1 http://mirrors.aliyun.com/kali sana InReleaseHit:2 http://mirrors.aliyun.com/kali-security sana/updates InReleaseReading package lists... Done           Reading package lists... DoneBuilding dependency tree    Reading state information... DoneCalculating upgrade... Done0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.Reading package lists... DoneBuilding dependency tree    Reading state information... DoneCalculating upgrade... Done0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

[注]kali2.0 阿里的源好用些,最后一步更新需要root权限,可是使用: sudo -i