其他分享
首页 > 其他分享> > kali源更新文件尺寸不符解决办法

kali源更新文件尺寸不符解决办法

作者:互联网

  1. 打开终端输入如下 命令:
vim /etc/apt/sources.list
  1. 将原有源注释掉,前面加‘#’,换成国内源
# 官方源  
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 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
# 阿里云kali源  
deb http://mirrors.aliyun.com/kali sana main non-free contrib  
deb http://mirrors.aliyun.com/kali-security sana/updates main contrib non-free

注意:如果出现文件尺寸不符,将http换成https。
3. 保存后,执行一下命令

apt-get update && apt-get upgrade

标签:解决办法,non,http,文件尺寸,kali,free,contrib,main
来源: https://blog.csdn.net/qq_26142613/article/details/121574577