«

Kali更新系统,解决:Updating from such a repository can't be done securely, and is therefore disabled by default.

作者:myluzh 分类: SECURE 长度:831 阅读:923


今天想更新下kali版本,新版2021.2有些新功能挺好用的,但是出现了问题。

E: The repository 'http://mirrors.163.com/debian wheezy Release' does not have a Release file.
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.

翻译了一下这句报错,大概意思就是无法安全的更新,看了下源地址都是http的,把源地址改成https的就可以了。

sudo vi /etc/apt/sources.list
#清华大学
deb https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
deb-src https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free

然后更新系统即可

apt update && apt full-upgrade

kali


正文到此结束
版权声明:若无特殊注明,本文皆为 Myluzh Blog 原创,转载请保留文章出处。
文章内容:https://itho.cn/secure/134.html
文章标题:《Kali更新系统,解决:Updating from such a repository can't be done securely, and is therefore disabled by default.