Kali Linux 上的终结者安装(apt-get 错误)

Kali Linux 上的终结者安装(apt-get 错误)

这是我第一次使用 Kali Linux 或一般的 Linux,所以我输入了命令。所以,我可以安装另一个终结者,但令我惊讶的是终结者抛出了很多错误

我输入的命令

apt-get install terminator

我得到的错误

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  gir1.2-keybinder-3.0 libkeybinder-3.0-0 python-gi-cairo python-psutil
Suggested packages:
  python-psutil-doc
The following NEW packages will be installed:
  gir1.2-keybinder-3.0 libkeybinder-3.0-0 python-gi-cairo python-psutil terminator
0 upgraded, 5 newly installed, 0 to remove and 410 not upgraded.
Need to get 877 kB of archives.
After this operation, 3,558 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://http.kali.org/kali kali-rolling/main amd64 libkeybinder-3.0-0 amd64 0.3.2-1
  404  Not Found [IP: 192.99.200.113 80]
Err:2 http://http.kali.org/kali kali-rolling/main amd64 gir1.2-keybinder-3.0 amd64 0.3.2-1
  404  Not Found [IP: 192.99.200.113 80]
Err:3 http://http.kali.org/kali kali-rolling/main amd64 python-gi-cairo amd64 3.26.1-2
  404  Not Found [IP: 192.99.200.113 80]
Err:4 http://http.kali.org/kali kali-rolling/main amd64 python-psutil amd64 5.4.2-1
  404  Not Found [IP: 192.99.200.113 80]
Err:5 http://http.kali.org/kali kali-rolling/main amd64 terminator all 1.91-1
  404  Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/k/keybinder-3.0/libkeybinder-3.0-0_0.3.2-1_amd64.deb  404  Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/k/keybinder-3.0/gir1.2-keybinder-3.0_0.3.2-1_amd64.deb  404  Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/p/pygobject/python-gi-cairo_3.26.1-2_amd64.deb  404  Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/p/python-psutil/python-psutil_5.4.2-1_amd64.deb  404  Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/t/terminator/terminator_1.91-1_all.deb  404  Not Found [IP: 192.99.200.113 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

我也尝试过

sudo apt update

我得到的错误

Get:1 http://kali.download/kali kali-rolling InRelease [30.5 kB]
Err:1 http://kali.download/kali kali-rolling InRelease
  The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
Fetched 30.5 kB in 17s (1,823 B/s)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
424 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://kali.download/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease  The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
W: Some index files failed to download. They have been ignored, or old ones used instead.

因此,如果您有任何建议或解决方案,我将不胜感激。如果问题不专业,请不要投票或报告问题,而是请帮助我改进问题。感谢您的时间和精力。

答案1

你有两个问题:

  1. Kali Linux 存储库的签名无效。
  2. 包索引已过时。

使用以下命令来纠正该问题:

wget -q -O - https://archive.kali.org/archive-key.asc |sudo apt-key add
sudo apt update
sudo apt upgrade
sudo apt install terminator

答案2

我已经为这个问题苦苦挣扎了三个晚上……搜索了无数的论坛、帖子和群组;阅读大量文章;编辑和卸载/重新安装文件等,上面的答案是唯一一个不仅正确解释了问题,所以我可以理解错误产生的原因和方式,而且实际上有效。谢谢@GAD3R。

相关内容