当前位置: 首页 >> Linux安全 >> 【拍错】Kali安装软件报错解决方法 >> 正文

【拍错】Kali安装软件报错解决方法

2年前 (2022-10-17)     作者:Jiaozn     分类:Linux安全     阅读次数:2261     评论(0)    

E: Failed to fetch http://mirrors.tuna.tsinghua.edu.cn/kali/dists/kali-rolling/main/Contents-amd64.gz  File has unexpected size (41938997 != 41911188). Mirror sync in progress? [IP: 101.6.15.130 80]

   Hashes of expected file:

    - Filesize:41911188 [weak]

    - SHA256:032a699dd32152d0cf3ea84bf67ab1c80d917a2fbd22aecd0374ad9908ccac18

    - SHA1:a9010c3a6cece8e49b6b7506b346d407636d17ff [weak]

    - MD5Sum:1c02a50c9a3f776be00e7357a09b36b8 [weak]

   Release file created at: Mon, 11 Apr 2022 18:05:03 +0000

E: Failed to fetch http://mirrors.tuna.tsinghua.edu.cn/kali/dists/kali-rolling/non-free/Contents-amd64.gz  

E: Some index files failed to download. They have been ignored, or old ones used instead.



解决方法:

echo “deb https://http.kali.org/kali kali-rolling main non-free contrib” > /etc/apt/sources.list

apt clean

apt update

apt upgrade



 apt-get update && apt-get upgrade && apt-get dist-upgrade 



E: Release file for https://mirrors.aliyun.com/kali/dists/kali-rolling/InRelease is not valid yet (invalid for another 4h 33min 42s). Updates for this repository will not be applied.





# kali官方源

deb https://http.kali.org/ kali-rolling main non-free contrib

deb-src https://http.kali.org/ kali-rolling main non-free contrib


#中科大源

deb https://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib

deb-src https://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib


除非注明,发表在“Jiaozn的博客”的文章『【拍错】Kali安装软件报错解决方法』版权归Jiaozn所有。 转载请注明出处为“本文转载于『Jiaozn的博客』原地址https://www.jiaozn.com/reed/810.html
0

评论

发表评论   

昵称*

E-mail*(建议输入,以便收到博主回复的提示邮件)

网站

分享:

支付宝

微信