kali linux 更换镜像源

kali linux 更换镜像源,第1张

kali linux 更换镜像源

编辑sources.list文件

leafpad /etc/apt/sources.list

#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

清理安装包

sudo apt-get clean
sudo apt-get autoclean

更新

sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/587100.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-04-12
下一篇 2022-04-12

发表评论

登录后才能评论

评论列表(0条)

保存