大家好,又见面了,我是你们的朋友全栈君。
2.按键盘A进行对更新源的输入;
3.常见的更新源如下:
3.1中科大
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
3.2阿里云
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
3.3清华大学
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
3.4浙大
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
3.5东软大学
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
3.6官方源
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
4.退出并保存
按Esc退出编辑,然后输入->“:set noreadonly”,然后回车
再输入->“:wq”,按回车退出
至此,kali更新源以添加成功。
5.在命令窗口输入: apt-get update #取回更新软件包列表
apt-get upgrade #进行一次升级
apt-get clean #删除已经下载的安装包
reboot #重启
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/144754.html原文链接:https://javaforall.cn