概述
kali linux 2.0配置更新源后apt-get update 报错
仅作个人笔记之用,更多干货请移步微信公众号“网络铅笔头”
这是我设置的清华镜像源:
deb http://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-get update报错如下:
root@kali:~# apt-get update
Ign:1 cdrom://[Debian GNU/Linux 2017.3 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20171109-13:49] kali-rolling InRelease
Err:2 cdrom://[Debian GNU/Linux 2017.3 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20171109-13:49] kali-rolling Release
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Ign:3 http://mirrors.neusoft.edu.cn/kali kali-rolling/main InRelease
Get:4 http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling InRelease [30.5 kB]
Get:5 http://mirrors.zju.edu.cn/kali kali-rolling InRelease [30.5 kB]
Err:6 http://mirrors.neusoft.edu.cn/kali kali-rolling/main Release
404 Not Found [IP: 219.216.128.25 80]
Err:4 http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling InRelease
The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository Err:5 http://mirrors.zju.edu.cn/kali kali-rolling InRelease
The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository Reading package lists... Done
E: The repository 'cdrom://[Debian GNU/Linux 2017.3 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20171109-13:49] kali-rolling 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.
E: The repository 'http://mirrors.neusoft.edu.cn/kali kali-rolling/main 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.
W: GPG error: http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository E: The repository 'http://mirrors.tuna.tsinghua.edu.cn/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.
执行如下命令即可解决:
apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6
再次apt-get update就没问题了。
最后
以上就是鲤鱼路灯为你收集整理的kali2.0 linux 更新源最新,kali linux 2.0配置更新源后apt-get update 报错的全部内容,希望文章能够帮你解决kali2.0 linux 更新源最新,kali linux 2.0配置更新源后apt-get update 报错所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复