![无法在 kali Linux 2019.1 上安装任何东西](https://linux22.com/image/201782/%E6%97%A0%E6%B3%95%E5%9C%A8%20kali%20Linux%202019.1%20%E4%B8%8A%E5%AE%89%E8%A3%85%E4%BB%BB%E4%BD%95%E4%B8%9C%E8%A5%BF.png)
这是我的/etc/apt/sources.list
包含
deb http://http.kali.org/kali kali-rolling main contrib non-free
deb-src http://http.kali.org/kali kali-rolling main contrib non-free
类似的命令apt-get update
或安装类似的东西apt-get install terminator
。这些命令不起作用。但我无法更新它或下载任何东西。我有 Linux 2019.1。因为它是旧版本,但我的工作需要它。如何解决这个问题?运行命令后sudo apt-get update
我得到输出
Get:1 http://kali.cs.nctu.edu.tw/kali kali-rolling InRelease [30.6 kB]
Get:2 http://kali.cs.nctu.edu.tw/kali kali-bleeding-edge InRelease [14.1 kB]
Err:1 http://kali.cs.nctu.edu.tw/kali kali-rolling InRelease
The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
Get:3 http://kali.cs.nctu.edu.tw/kali kali-experimental InRelease [23.0 kB]
Err:2 http://kali.cs.nctu.edu.tw/kali kali-bleeding-edge InRelease
The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
Err:3 http://kali.cs.nctu.edu.tw/kali kali-experimental InRelease
The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
Reading package lists... Done
W: GPG error: http://kali.cs.nctu.edu.tw/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.
W: GPG error: http://kali.cs.nctu.edu.tw/kali kali-bleeding-edge InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
E: The repository 'http://http.kali.org/kali kali-bleeding-edge 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.
W: GPG error: http://kali.cs.nctu.edu.tw/kali kali-experimental InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
E: The repository 'http://http.kali.org/kali kali-experimental 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.
答案1
你已经混合了kali-rolling
,kali-bleeding-edge
和kali-experimental
。
要从使用中安装包kali-rolling
:
sudo apt-get install terminator/kali-rolling
要从使用中安装包kali-bleeding-edge
:
sudo apt-get install terminator/kali-bleeding-edge
解决gpg密钥错误请参阅此问答。