教程基于Kali2019.4,但是要相信都是通用的

因为需要更新的软件会多一点,所以时间上可能会久一点,耐性等待就好

更新源

1.更新软件源
sudo vim /etc/apt/sources.list
2.选择比较合适的源(选择一个即可)

中科大

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

163 

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.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
3.保存分别后执行下面命令:

apt-get update &apt-get upgrade

apt-get dist-upgrade

删除已下载的包

apt-get clean

重新启动即可

reboot

因为比较简单就不多讲解,有问题可以留言

Last modification:March 15th, 2020 at 11:00 am
创作不易,请随意赞赏