Kali-Linux apt-get update不了,换源要安装KEY,安装KEY要安装gnupg,安装gnupg要apt-get update,死循环啊
执行sudo apt-get update后,Kali报错:
Get:1 http://mirrors.neusoft.edu.cn/kali kali-rolling InRelease [30.6 kB]
Err:1 http://mirrors.neusoft.edu.cn/kali kali-rolling InRelease
The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org>
Fetched 30.6 kB in 1s (20.7 kB/s)
Reading package lists... Done
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.neusoft.edu.cn/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.
这个时候需要安装一个key。
可以浏览器访问:https://http.kali.org/kali/pool/main/k/kali-archive-keyring/然后看里面文件名是什么。现在是 kali-archive-keyring_2022.1_all.deb 这个名字可能过几天会变得
执行下面命令:
wget https://http.kali.org/kali/pool/main/k/kali-archive-keyring/kali-archive-keyring_2022.1_all.deb --no-check-certificate
然后:文章来源:https://www.toymoban.com/news/detail-443098.html
sudo apt install ./kali-archive-keyring_2022.1_all.deb
愉快的 sudo apt update 去吧文章来源地址https://www.toymoban.com/news/detail-443098.html
到了这里,关于100%解决gnupg, gnupg2 and gnupg1 do not seem to be installed的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!