解决WSL安装kali-linux apt update 报错 截止到2024年7月CSDN唯一亲测可用
WSL安装kali-linux使用apt update报错内容
W: An error occurred during the signature verification. The repository is not updated and the previous
index files will be used. GPG error: http://mirrors.jevincanders.net/kali kali-rolling InRelease: The
following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository devel@kali.org
W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease The following signatures
were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository devel@kali.org
W: Some index files failed to download. They have been ignored, or old ones used instead.
解决方式
wget -O kali-archive-keyring_2024.1_all.deb https://http.kali.org/kali/pool/main/k/kali-archive-keyring/kali-archive-keyring_2024.1_all.deb
注意访问https://http.kali.org/kali/pool/main/k/kali-archive-keyring/将kali-archive-keyring_2024.1_all.deb的名字换为网站下最新的版本
然后
sudo dpkg -i kali-archive-keyring_2024.1_all.deb
不出意外就可以了
其余教程让你改sourcelist换镜像源,更新证书密钥啥啥啥的我都试了一遍头都大了,就这个有用。
引用
https://superuser.com/questions/1644520/apt-get-update-issue-in-kali