说明:
kali不挂vpn根本没办法更新,于是替换成阿里云的kali源。有钱就是好啊,各种源速度都快!
具体:
1. 备份官方源
# cd /etc/apt/ # cp sources.list sources.list.init
2. 修改为ali源
# vim sources.list //删除原来的资料,添加以下内容 deb http://mirrors.aliyun.com/kali kali main non-free contrib deb-src http://mirrors.aliyun.com/kali kali main non-free contrib deb http://mirrors.aliyun.com/kali-security kali/updates main contrib non-free
3. 应用ali源
# apt-get update