首先,我们要打开sources.list文件,进行添加更新源:
vi /etc/apt/sources.list
-
#官方源
-
deb kali main non-free contrib
-
deb-src kali main non-free contrib
-
deb http://security.kali.org/kali-security kali/updates main contrib non-free
-
-
#中科大kali源
-
deb kali main non-free contrib
-
deb-src kali main non-free contrib
-
deb -security kali/updates main contrib non-free
-
-
#新加坡kali源
-
deb kali main non-free contrib
-
deb-src 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
-
-
#debian_wheezy国内源
-
-
deb wheezy main non-free contrib
-
deb-src wheezy main non-free contrib
-
deb wheezy-proposed-updates main non-free contrib
-
deb-src wheezy-proposed-updates main non-free contrib
-
deb -security wheezy/updates main non-free contrib
-
deb-src -security wheezy/updates main non-free contrib
-
deb wheezy main non-free contrib
-
deb-src wheezy main non-free contrib
-
deb wheezy-proposed-updates main non-free contrib
-
deb-src wheezy-proposed-updates main non-free contrib
-
deb-src -security wheezy/updates main non-free contrib
-
deb -security wheezy/updates main non-free contrib
-
阿里源
deb wheezy main non-free contrib
deb wheezy-proposed-updates main non-free contrib
deb-src wheezy main non-free contrib
deb-src wheezy-proposed-updates main non-free contrib
-
然后执行:apt-get update & apt-get upgrade 即可
阅读(375) | 评论(0) | 转发(0) |