1. 程式人生 > >kali更新源

kali更新源

ces 問題 .cn src 更新源 大學 span source ror

1、添加更新源

vi /etc/apt/sources.list

2、更新源

#中科大
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.zju.edu.cn/kali kali-rolling main contrib non-free
deb-src http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
#東軟大學 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 #重慶大學 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:
//http.kali.org/kali kali-rolling main non-free contrib #deb-src http://http.kali.org/kali kali-rolling main non-free contrib

3、更新

apt-get clean                //清除kali緩存索引
apt-get update             //更新kali索引文件
apt-get upgrade            //升級所安裝的軟件包
apt-get dist-upgrade     //解決相關依賴問題

apt-get clean && apt-get
update && apt-get upgrade -y && apt-get dist-upgrade -y //推薦使用

kali更新源