无法在 kali Linux 2019.1 上安装任何东西

无法在 kali Linux 2019.1 上安装任何东西

这是我的/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-edgekali-experimental

要从使用中安装包kali-rolling

sudo apt-get install terminator/kali-rolling

要从使用中安装包kali-bleeding-edge

sudo apt-get install terminator/kali-bleeding-edge

解决gpg密钥错误请参阅此问答

相关内容