码迷,mamicode.com
首页 > 其他好文 > 详细

kali修改更新源及更新

时间:2017-09-04 15:10:09      阅读:182      评论:0      收藏:0      [点我收藏+]

标签:list   apt   san   lin   aliyun   mirrors   upd   div   pad   

进入源文件进行修改

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修改更新源及更新

标签:list   apt   san   lin   aliyun   mirrors   upd   div   pad   

原文地址:http://www.cnblogs.com/DogOfIT/p/7473032.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!