源地址:
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
修改文件,把以上三行地址保存到文件,把原来的注释掉:
0 |
# vim /etc/apt/sources.list |
更新源:
0 1 2 |
# apt-get update & apt-get upgrade # apt-get dist-upgrade # apt-get clean |