无法在 Kali Linux 上 apt-get 更新

无法在 Kali Linux 上 apt-get 更新

当我尝试时apt-get update它说:

Get:1 http://archive-3.kali.org/kali kali-rolling InRelease [30.5 kB]
Err:1 http://archive-3.kali.org/kali kali-rolling InRelease
The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
Reading package lists... Done
W: GPG error: http://archive-3.kali.org/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
E: The repository 'http://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.

我的/etc/apt/source.list看起来像这样:

deb http://http.kali.org/kali kali-rolling main contrib non-free
# For source package access, uncomment the following line
# deb-src http://http.kali.org/kali kali-rolling main contrib non-free
# deb cdrom:[Debian GNU/Linux 2017.3 _Kali-rolling_ - Official Snapshot amd64 L$

#deb cdrom:[Debian GNU/Linux 2017.3 _Kali-rolling_ - Official Snapshot amd64 LI$

我应该怎么办 ?谢谢!

答案1

事实上,你的钥匙已经过时了;您需要首先更新您的密钥。尝试一下:wget -q -O - archive.kali.org/archive-key.asc | apt-key add就可以开始了。

看看他们的鸣叫

相关内容