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

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

2022年10月17日 05:24:14    作者:Jiaozn    分类:Linux安全     评论(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://jiaozn.com/reed/810.html

评论

发表评论   

昵称*

E-mail*

网站