Myluzh Blog

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

发布时间: 2021-8-5 文章作者: myluzh 分类名称: SECURE 朗读文章


今天想更新下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

发表评论