Kali-Linux
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 <devel@kali.org> 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 <devel@kali.org> W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org> W: Some index files failed to download. They have been ignored, or old ones used instead.
因此,如果您有任何建議或解決方案,我將不勝感激。如果問題不專業,請不要投票或報告問題,而是請幫助我改進問題。感謝您的時間和精力。
你有兩個問題:
- Kali Linux 儲存庫的無效簽名。
- 包索引已過時。
使用以下命令更正問題:
wget -q -O - https://archive.kali.org/archive-key.asc |sudo apt-key add sudo apt update sudo apt upgrade sudo apt install terminator