一、查看kali系统的更新源地址文件
命令:
vim /etc/apt/sources.list
上面这是kali官方的更新源;
拓展知识:
问:如何查看自己的kali linux版本?
注意: (linux standard base linux标准库),以下的更新源均为rolling版本。如果不是,请自行修改。
二、增加或替换掉sources.list文件里面的更新源地址:
以下是我收集的kali更新源大全,有一些或许是失效的,有一些需要做一些细节上的修改就可以用了。
不懂请仔细看第一步更新源的拓展知识。
# kali官方源
deb http://http.kali.org/ moto main non-free contrib
deb-src http://http.kali.org/ moto main non-free contrib
deb http://security.kali.org/ moto/updates main contrib non-free
deb-src http://security.kali.org/ moto/updates main contrib non-free
#中科大kali源
deb http://mirrors.ustc.edu.cn/kali kali main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali kali main non-free contrib
deb http://mirrors.ustc.edu.cn/kali-security kali/updates main contrib non-free
#新加坡kali源
deb http://mirror.nus.edu.sg/kali/kali/ kali main non-free contrib
deb-src http://mirror.nus.edu.sg/kali/kali/ kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb http://mirror.nus.edu.sg/kali/kali-security kali/updates main contrib non-free
deb-src http://mirror.nus.edu.sg/kali/kali-security kali/updates main contrib non-free
#阿里云kali源
deb http://mirrors.aliyun.com/kali kali main non-free contrib
deb-src http://mirrors.aliyun.com/kali kali main non-free contrib
deb http://mirrors.aliyun.com/kali-security kali/updates main contrib non-free
#163 Kali源
deb http://mirrors.163.com/debian wheezy main non-free contrib
deb-src http://mirrors.163.com/debian wheezy main non-free contrib
deb http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.163.com/debian-security wheezy/updates main non-free contrib
deb http://mirrors.163.com/debian-security wheezy/updates main non-free contrib
#auto
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-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
以下是我目前用的kali linux两个更新源地址:
# kali官方源
deb http://http.kali.org/ kali-rolling main non-free contrib
deb-src http://http.kali.org/ kali-rolling main non-free contrib
#中科大源
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
我是直接把上面的更新源地址直接加入到sources.list,官方源我也是没有做任何的修改。毕竟源地址多了并没有什么坏处,唯一是在我们更新的时候下载时间或许会久一点,仅此而已。
三、开始更新源和升级软件包;
命令:
apt-get update & apt-get upgrade
四、更新完成后再次输入软件升级;
命令:
apt-get dist-upgrade
五、清理;
命令:
apt-get clean
六、重启系统;
命令:
reboot
视频内容简介:
开始~15分钟 介绍kali输入法
15分钟~1:00:05 第一次kali更新源出错 并解决这个错误!
1:00:05~03:06:00 第二次继续kali更新源下载、安装、更新、完成,不报任何错误!
03:06:00~03:16:30 安装kali输入法:谷歌拼音
03:16:30~03:25:00 安装kali输入法:拼音、双拼、五笔拼音输入法
03:25:00~结束 安装kalil输入法:搜狗拼音输入法