- 进入源文件进行修改
leafpad /etc/apt/sources.list
- 清空,添加如下内容:
deb https://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
deb-src https://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
- 开始更新源和升级软件包
apt-get update & apt-get upgrade
- 更新完成后再次输入软件升级
apt-get dist-upgrade
- 清理
apt-get clean
- 重启
reboot
- 转载自:
https://www.fujieace.com/kali-linux/update-source.html
https://www.fujieace.com/kali-linux/update-source.html
注:仅供参考,若无意侵权,请联系本人及时删除,谢谢。
网友评论