解决方案
“APT”包管理器设置为通过加密HTTP协议拒绝更新。
默认的/etc/apt/sources.list
文件列出没有HTTPS协议的存储库。
最简单的修复是用安全的HTTPS协议替换现有的HTTP协议。
修改/etc/apt/sources.list
文件:
将 deb http.kali.org/kali kali-rolling main non-free contrib 改成 https deb https.kali.org/kali kali-rolling main non-free contrib
问题
运行apt update
命令时会出现以下错误消息:
Err:1 http.kali.org/kali kali-rolling InRelease 403 Forbidden [IP: 192.99.200.113 80] Reading package lists... Done E: Failed to fetch http.kali.org/kali/dists/kali-rolling/InRelease 403 Forbidden [IP: 192.99.200.113 80] E: The repository 'http.kali.org/kali kali-rolling InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
Kali Linux存储库更新错误。
日期:2020-07-07 20:56:44 来源:oir作者:oir