Доброе утро, Господа и Дамы!
Проблема - не могу обновить Kali.
Hash Sum mismatch
На основной машине использую Kali linux.
На неё нужно поставить Kali linux в Virtualbox.
Использую образ .ova
Как это выглядит
Что я пробовал делать и безрезультатно?
Создал этот документ
С таким содержимым:
Пробовал использовать все эти зеркала:
Благодаря этим шагам я получил нувую проблему, которая проявляется через раз
segmentation fault
Теперь когда я пытаюсь обновиться
Меня выкидывает из терминала с вот такой ошибкой
Чтобы узнать о причине вылета из терминала пришлось запускать терминал через терминал
Сейчас проблема всё еще не изменилась
Подскажите, пожалйста, советом или ссылкой.
Проблема - не могу обновить Kali.
Hash Sum mismatch
На основной машине использую Kali linux.
На неё нужно поставить Kali linux в Virtualbox.
Использую образ .ova
Как это выглядит
Код:
sudo apt-get update 100 ⨯
Get:1 http://kali.koyanet.lv/kali kali-rolling InRelease [30.5 kB]
Get:2 http://kali.koyanet.lv/kali kali-rolling/main amd64 Packages [17.8 MB]
Err:2 http://kali.koyanet.lv/kali kali-rolling/main amd64 Packages
Hash Sum mismatch
Hashes of expected file:
- Filesize:17843831 [weak]
- SHA256:d894d0b5dfb001abf727713ef422bb3cd825b41d35c7c2531d978407493302a2
- SHA1:424be97728a3f2ade341e172791dbb03c6223b38 [weak]
- MD5Sum:188a457f24c84abc2b0763f67ff203e3 [weak]
Hashes of received file:
- SHA256:be210c6c7a9e7aed79782ac5de733f13b4321b50e8a25449a3e7aff55dc69718
- SHA1:2f8d2eeb4b7f54b3d743bc7ec790ca21d928a568 [weak]
- MD5Sum:188a457f24c84abc2b0763f67ff203e3 [weak]
- Filesize:17843831 [weak]
Last modification reported: Fri, 27 Aug 2021 19:23:53 +0000
Release file created at: Fri, 27 Aug 2021 21:08:58 +0000
Get:3 http://kali.koyanet.lv/kali kali-rolling/main amd64 Contents (deb) [40.3 MB]
Get:4 http://kali.koyanet.lv/kali kali-rolling/contrib amd64 Packages [108 kB]
Get:5 http://kali.koyanet.lv/kali kali-rolling/contrib amd64 Contents (deb) [135 kB]
Get:6 http://kali.koyanet.lv/kali kali-rolling/non-free amd64 Packages [201 kB]
Get:7 http://kali.koyanet.lv/kali kali-rolling/non-free amd64 Contents (deb) [954 kB]
Fetched 17.9 MB in 13s (1,404 kB/s)
Reading package lists... Done
E: Failed to fetch http://kali.koyanet.lv/kali/dists/kali-rolling/main/binary-amd64/Packages.gz Hash Sum mismatch
Hashes of expected file:
- Filesize:17843831 [weak]
- SHA256:d894d0b5dfb001abf727713ef422bb3cd825b41d35c7c2531d978407493302a2
- SHA1:424be97728a3f2ade341e172791dbb03c6223b38 [weak]
- MD5Sum:188a457f24c84abc2b0763f67ff203e3 [weak]
Hashes of received file:
- SHA256:be210c6c7a9e7aed79782ac5de733f13b4321b50e8a25449a3e7aff55dc69718
- SHA1:2f8d2eeb4b7f54b3d743bc7ec790ca21d928a568 [weak]
- MD5Sum:188a457f24c84abc2b0763f67ff203e3 [weak]
- Filesize:17843831 [weak]
Last modification reported: Fri, 27 Aug 2021 19:23:53 +0000
Release file created at: Fri, 27 Aug 2021 21:08:58 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
Что я пробовал делать и безрезультатно?
Код:
sudo apt-get clean
sudo apt-get autoclean
sudo rm -rf /var/lib/apt/lists/*
sudo apt-key update
sudo apt --fix-broken install
sudo apt-get autoremove
sudo apt-get update --fix-missing
Код:
sudo rm -rf /var/lib/apt/lists/partial
sudo apt-get update -o Acquire::CompressionTypes::Order::=gz
sudo apt-get update -o Acquire::http::Proxy="$HTTP_PROXY" -o Debug::Acquire::http=true
Создал этот документ
sudo vim /etc/apt/apt.conf.d/99fixbadproxy
С таким содержимым:
Код:
Acquire::http::Pipeline-Depth 0;
Acquire::http::No-Cache true;
Acquire::BrokenProxy true;
Код:
sudo bash
mkdir /etc/gcrypt
echo all >> /etc/gcrypt/hwf.deny
Пробовал использовать все эти зеркала:
Код:
deb http://http.kali.org/kali kali-rolling main non-free contrib
deb http://http.kali.org/kali kali-rolling main contrib non-free
deb https://http.kali.org/kali kali-rolling main contrib non-free
deb http://mirrors.ocf.berkeley.edu/kali kali-rolling main non-free contrib
deb https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling main contrib non-free
deb https://mirror.karneval.cz/pub/linux/kali kali-rolling main contrib non-free
deb https://mirror.serverion.com/kali kali-rolling main contrib non-free
deb https://mirrors.dotsrc.org/kali kali-rolling main contrib non-free
deb https://mirror.pyratelan.org/kali kali-rolling main contrib non-free
deb https://ftp.halifax.rwth-aachen.de/kali kali-rolling main contrib non-free
deb https://ftp2.nluug.nl/os/Linux/distr/kali kali-rolling main contrib non-free
deb https://ftp1.nluug.nl/os/Linux/distr/kali kali-rolling main contrib non-free
deb https://mirror.erickochen.nl/kali kali-rolling main contrib non-free
deb https://mirror.neostrada.nl/kali kali-rolling main contrib non-free
deb https://archive-4.kali.org/kali kali-rolling main contrib non-free
deb https://mirror-1.truenetwork.ru/kali kali-rolling main contrib non-free
Благодаря этим шагам я получил нувую проблему, которая проявляется через раз
segmentation fault
Код:
sudo apt-get update
Get:1 https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling InRelease [30.5 kB]
Get:2 https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling/main amd64 Packages [17.8 MB]
Ign:2 https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling/main amd64 Packages
Reading package lists... Done
E: Method https has died unexpectedly!
E: Sub-process https received a segmentation fault.
Теперь когда я пытаюсь обновиться
Код:
until sudo apt-get update --fix-missing; do echo trying again; done
Код:
zsh: segmentation fault qterminal
Код:
qterminal 130 ⨯
QDir::exists: Empty or null file name
Using a variable-width font in the terminal. This may cause performance degradation and display/alignment errors.
Using a variable-width font in the terminal. This may cause performance degradation and display/alignment errors.
zsh: segmentation fault qterminal
Сейчас проблема всё еще не изменилась
Код:
sudo apt-get update
Hit:1 https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling InRelease
Get:2 https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling/main amd64 Packages [17.8 MB]
Ign:2 https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling/main amd64 Packages
Get:3 https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling/main amd64 Contents (deb) [40.3 MB]
Ign:3 https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling/main amd64 Contents (deb)
Get:4 https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling/non-free amd64 Packages [201 kB]
Get:5 https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling/non-free amd64 Contents (deb) [954 kB]
Ign:5 https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling/non-free amd64 Contents (deb)
Get:6 https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling/contrib amd64 Packages [108 kB]
Ign:6 https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling/contrib amd64 Packages
Get:7 https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling/contrib amd64 Contents (deb) [135 kB]
Get:2 https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling/main amd64 Packages [17.8 MB]
Ign:2 https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling/main amd64 Packages
Get:3 https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling/main amd64 Contents (deb) [40.3 MB]
Ign:3 https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling/main amd64 Contents (deb)
Get:5 https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling/non-free amd64 Contents (deb) [954 kB]
Ign:5 https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling/non-free amd64 Contents (deb)
Get:6 https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling/contrib amd64 Packages [108 kB]
Get:2 https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling/main amd64 Packages [17.8 MB]
Ign:2 https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling/main amd64 Packages
Get:3 https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling/main amd64 Contents (deb) [40.3 MB]
Ign:3 https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling/main amd64 Contents (deb)
Get:5 https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling/non-free amd64 Contents (deb) [0 kB]
Err:5 https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling/non-free amd64 Contents (deb)
Hash Sum mismatch
Hashes of expected file:
- Filesize:953820 [weak]
- SHA256:02d63460972e90c310dd06a261b369e4d2854415c6318e8e97609fa0a4bb2ee4
- SHA1:7f54de8d481da6dbc19ea80ca178a8aad06af9a5 [weak]
- MD5Sum:5a20280f821927aea0d388f183d15cfb [weak]
Hashes of received file:
- SHA256:24818c67410f9744e758d81fb6fdd2c4851058a63d9163ad491b27981a0c9e0c
- SHA1:22b6e7fb222661c68b716853880e3356911eefae [weak]
- MD5Sum:ecdae0d36cf85350ca77eabdeba907fe [weak]
- Filesize:953820 [weak]
Last modification reported: Fri, 27 Aug 2021 12:06:52 +0000
Release file created at: Fri, 27 Aug 2021 21:08:58 +0000
Get:2 https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling/main amd64 Packages [17.8 MB]
Ign:2 https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling/main amd64 Packages
Get:3 https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling/main amd64 Contents (deb) [40.3 MB]
Ign:3 https://ftp.acc.umu.se/mirror/kali.org/kali kali-rolling/main amd64 Contents (deb)
Fetched 1,004 kB in 9s (107 kB/s)
Reading package lists... Done
E: Failed to fetch https://ftp.acc.umu.se/mirror/kali.org/kali/dists/kali-rolling/non-free/Contents-amd64.gz Hash Sum mismatch
Hashes of expected file:
- Filesize:953820 [weak]
- SHA256:02d63460972e90c310dd06a261b369e4d2854415c6318e8e97609fa0a4bb2ee4
- SHA1:7f54de8d481da6dbc19ea80ca178a8aad06af9a5 [weak]
- MD5Sum:5a20280f821927aea0d388f183d15cfb [weak]
Hashes of received file:
- SHA256:24818c67410f9744e758d81fb6fdd2c4851058a63d9163ad491b27981a0c9e0c
- SHA1:22b6e7fb222661c68b716853880e3356911eefae [weak]
- MD5Sum:ecdae0d36cf85350ca77eabdeba907fe [weak]
- Filesize:953820 [weak]
Last modification reported: Fri, 27 Aug 2021 12:06:52 +0000
Release file created at: Fri, 27 Aug 2021 21:08:58 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
Подскажите, пожалйста, советом или ссылкой.