Kali 2.0最新国内源:阿里云,中科大

刚刚要给kali装个中文输入法,发现系统默认不能挂VPN ,所以没法使用官方源安装软件,所以找了找国内的源,结果发现网上很多都是Kali 1.0的源,现在已经不能用了(kali-rolling是目前最新的代号),测试了几个确定了下来。
用文本编辑器打开sources.list,手动添加下面的更新源:

vi /etc/apt/sources.list

2018.10.19日更新:

#中科大
deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib

#阿里云
deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib

#清华大学
deb http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
deb-src https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free

#浙大
deb http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
deb-src http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free

#东软大学
deb http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib
deb-src http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib

#官方源
deb http://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib


-----Kali 2.0+ —更新源—
#阿里云
deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
deb http://mirrors.aliyun.com/kali-security kali-rolling/updates main contrib non-free
#中科大
deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib

将新的Kali源粘贴进去,同时将官方源用#号注释掉。
再:

apt-get dist-upgrade

apt-get update & apt-get upgrade

apt-get clean

你可能感兴趣的:(kali,kali源连接)