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: 18.104.22.168 80]
Hashes of expected file:
- Filesize:41911188 [weak]
- 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-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.
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