kali修改更新源及更新

Posted 美满

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了kali修改更新源及更新相关的知识,希望对你有一定的参考价值。

进入源文件进行修改

leafpad /etc/apt/sources.list

(三选一即可)
#kali官方源 deb http:
//http.kali.org/kali kali-rolling main non-free contrib #中科大的源 deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib deb http://mirrors.ustc.edu.cn/kali kali-rolling main contrib non-free deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main contrib non-free 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 #阿里云源 deb http://mirrors.aliyun.com/kali sana main non-free contrib deb http://mirrors.aliyun.com/kali-security/ sana/updates main contrib non-free deb-src http://mirrors.aliyun.com/kali-security/ sana/updates main contrib non-free

apt-get update

ape-get upgrade

apt-get dist-upgrade

apt-get clean

以上是关于kali修改更新源及更新的主要内容,如果未能解决你的问题,请参考以下文章

更新源及加速操作

本地yum源及更新

kali linux软件源怎么配置

pip 常用镜像源及永久配置镜像源

求助大神,kali更新源apt-get出现问题

kali源更新(自己记录)