WSL Kali Linuxでsudo apt update && sudo apt Upgradeを実行してみました。しかし、私はこれを得るでしょう。
sudo apt update
Get:1 http://wlglam.fsmg.org.nz/kali kali-rolling InRelease [30.5 kB]
Err:1 http://wlglam.fsmg.org.nz/kali kali-rolling InRelease
The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
Fetched 30.5 kB in 2s (13.8 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://wlglam.fsmg.org.nz/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
W: Some index files failed to download. They have been ignored, or old ones used instead.
私はこれを試しました回答動作し、動作しません。具体的に
wget -q -O -https://archive.kali.org/archive-key.asc適切なキーを追加
私が試した他のすべての結果は(sudoの有無にかかわらず)
E:gnupg、gnupg2、およびgnupg1がインストールされていないようですが、これを行うにはどちらかが必要です。
gnupgをインストールしようとすると、エラー404が見つかりませんでした。
Err:7 http://http.kali.org/kali kali-rolling/main amd64 gnupg-l10n all 2.2.9-1
404 Not Found [IP: 192.99.200.113 80]
Err:8 http://http.kali.org/kali kali-rolling/main amd64 gnupg-utils amd64 2.2.9-1
404 Not Found [IP: 192.99.200.113 80]
Err:9 http://http.kali.org/kali kali-rolling/main amd64 libsqlite3-0 amd64 3.24.0-1
404 Not Found [IP: 192.99.200.113 80]
Err:10 http://http.kali.org/kali kali-rolling/main amd64 gpg amd64 2.2.9-1
404 Not Found [IP: 192.99.200.113 80]
Err:11 http://http.kali.org/kali kali-rolling/main amd64 gpg-agent amd64 2.2.9-1
404 Not Found [IP: 192.99.200.113 80]
Err:12 http://http.kali.org/kali kali-rolling/main amd64 gpg-wks-client amd64 2.2.9-1
404 Not Found [IP: 192.99.200.113 80]
Err:13 http://http.kali.org/kali kali-rolling/main amd64 gpg-wks-server amd64 2.2.9-1
404 Not Found [IP: 192.99.200.113 80]
Err:14 http://http.kali.org/kali kali-rolling/main amd64 gpgsm amd64 2.2.9-1
404 Not Found [IP: 192.99.200.113 80]
Err:15 http://http.kali.org/kali kali-rolling/main amd64 gnupg all 2.2.9-1
404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/liba/libassuan/libassuan0_2.5.1-2_amd64.deb 404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/r/readline/libreadline7_7.0-5_amd64.deb 404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/g/gnupg2/gpgconf_2.2.9-1_amd64.deb 404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/libk/libksba/libksba8_1.3.5-2_amd64.deb 404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/n/npth/libnpth0_1.6-1_amd64.deb 404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/g/gnupg2/dirmngr_2.2.9-1_amd64.deb 404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/g/gnupg2/gnupg-l10n_2.2.9-1_all.deb 404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/g/gnupg2/gnupg-utils_2.2.9-1_amd64.deb 404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/s/sqlite3/libsqlite3-0_3.24.0-1_amd64.deb 404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/g/gnupg2/gpg_2.2.9-1_amd64.deb 404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/g/gnupg2/gpg-agent_2.2.9-1_amd64.deb 404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/g/gnupg2/gpg-wks-client_2.2.9-1_amd64.deb 404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/g/gnupg2/gpg-wks-server_2.2.9-1_amd64.deb 404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/g/gnupg2/gpgsm_2.2.9-1_amd64.deb 404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/g/gnupg2/gnupg_2.2.9-1_all.deb 404 Not Found [IP: 192.99.200.113 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
cmdのため、上にスクロールできないため、完全なログを提供できません。
カリバージョン=2018.3
答え1
kali-archive-keyringパッケージの更新
wget http://http.kali.org/kali/pool/main/k/kali-archive-keyring/kali-archive-keyring_2022.1_all.deb && sudo apt install ./kali-archive-keyring*.deb
ファイル名はkali-archive-keyring_*_all.deb
変更されることがあります。ここで最新のファイル名を探してください。http://http.kali.org/kali/pool/main/k/kali-archive-keyring/