关于 Kali linux2019.4更新源

Kali linux2019.4更新源

1、

1.1:终端输入vim /etc/apt/sources.list

关于 Kali linux2019.4更新源_第1张图片

关于 Kali linux2019.4更新源_第2张图片

 

1.2:按insert  将以下更新的源路径复制进去,一个即可

 

#aliyun 阿里云

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

 

# ustc 中科大

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.ustc.edu.cn/kali-security kali-current/updates main contrib non-free

#deb-src http://mirrors.ustc.edu.cn/kali-security kali-current/updates main contrib non-free

 

# kali 官方源

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

 

# 默认的,可以注释掉不用管

#deb http://security.kali.org/kali-security kali-rolling/updates main contrib non-free

#deb-src http://security.kali.org/kali-security kali-rolling/updates main contrib non-free

 

按ESC 然后输入    :wq    回车 (:w是保存文档的意思  q是退出)

 

1.3 在终端输入 apt-get update && apt-get upgrade && apt-get dist-upgrade && apt-get clean     回车 (这是更新命令)前提是有网,大约需要几分钟

 

关于 Kali linux2019.4更新源_第3张图片

 

 

最后重启一下    reboot

你可能感兴趣的:(kali)