Apt
在 kali rolling 2016 中安裝後 apt-get update 不起作用
我
kali-linux rolling 2016.1
最近安裝了,輸出uname -a
是Linux kali 4.3.0-kali1-amd64 #1 SMP Debian 4.3.3-5kali4 (2016-01-13) x86_64 GNU/Linux
安裝後,我根據可用的最新儲存庫更新了我的 sources.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
執行 apt-get update 命令後,我無法更新軟體包列表,它根本無法通過顯示輸出來工作
root@kali:~# apt-get update Ign:1 http://http.kali.org/kali kali-rolling InRelease Ign:2 http://http.kali.org/kali kali-rolling Release Ign:3 http://http.kali.org/kali kali-rolling/main amd64 Packages Ign:4 http://http.kali.org/kali kali-rolling/main all Packages Ign:5 http://http.kali.org/kali kali-rolling/main Translation-en_US Ign:6 http://http.kali.org/kali kali-rolling/main Translation-en Ign:7 http://http.kali.org/kali kali-rolling/contrib amd64 Packages Ign:8 http://http.kali.org/kali kali-rolling/contrib all Packages Ign:9 http://http.kali.org/kali kali-rolling/contrib Translation-en_US Ign:10 http://http.kali.org/kali kali-rolling/contrib Translation-en Ign:11 http://http.kali.org/kali kali-rolling/non-free amd64 Packages Ign:12 http://http.kali.org/kali kali-rolling/non-free all Packages Ign:13 http://http.kali.org/kali kali-rolling/non-free Translation-en_US Ign:14 http://http.kali.org/kali kali-rolling/non-free Translation-en Ign:3 http://http.kali.org/kali kali-rolling/main amd64 Packages Ign:4 http://http.kali.org/kali kali-rolling/main all Packages Ign:5 http://http.kali.org/kali kali-rolling/main Translation-en_US Ign:6 http://http.kali.org/kali kali-rolling/main Translation-en Ign:7 http://http.kali.org/kali kali-rolling/contrib amd64 Packages Ign:8 http://http.kali.org/kali kali-rolling/contrib all Packages Ign:9 http://http.kali.org/kali kali-rolling/contrib Translation-en_US Ign:10 http://http.kali.org/kali kali-rolling/contrib Translation-en Ign:11 http://http.kali.org/kali kali-rolling/non-free amd64 Packages Ign:12 http://http.kali.org/kali kali-rolling/non-free all Packages Ign:13 http://http.kali.org/kali kali-rolling/non-free Translation-en_US Ign:14 http://http.kali.org/kali kali-rolling/non-free Translation-en Ign:3 http://http.kali.org/kali kali-rolling/main amd64 Packages Ign:4 http://http.kali.org/kali kali-rolling/main all Packages Ign:5 http://http.kali.org/kali kali-rolling/main Translation-en_US Ign:6 http://http.kali.org/kali kali-rolling/main Translation-en Ign:7 http://http.kali.org/kali kali-rolling/contrib amd64 Packages Ign:8 http://http.kali.org/kali kali-rolling/contrib all Packages Ign:9 http://http.kali.org/kali kali-rolling/contrib Translation-en_US Ign:10 http://http.kali.org/kali kali-rolling/contrib Translation-en Ign:11 http://http.kali.org/kali kali-rolling/non-free amd64 Packages Ign:12 http://http.kali.org/kali kali-rolling/non-free all Packages Ign:13 http://http.kali.org/kali kali-rolling/non-free Translation-en_US Ign:14 http://http.kali.org/kali kali-rolling/non-free Translation-en Ign:3 http://http.kali.org/kali kali-rolling/main amd64 Packages Ign:4 http://http.kali.org/kali kali-rolling/main all Packages Ign:5 http://http.kali.org/kali kali-rolling/main Translation-en_US Ign:6 http://http.kali.org/kali kali-rolling/main Translation-en Ign:7 http://http.kali.org/kali kali-rolling/contrib amd64 Packages Ign:8 http://http.kali.org/kali kali-rolling/contrib all Packages Ign:9 http://http.kali.org/kali kali-rolling/contrib Translation-en_US Ign:10 http://http.kali.org/kali kali-rolling/contrib Translation-en Ign:11 http://http.kali.org/kali kali-rolling/non-free amd64 Packages Ign:12 http://http.kali.org/kali kali-rolling/non-free all Packages Ign:13 http://http.kali.org/kali kali-rolling/non-free Translation-en_US Ign:14 http://http.kali.org/kali kali-rolling/non-free Translation-en Err:3 http://http.kali.org/kali kali-rolling/main amd64 Packages 400 Bad Request Ign:4 http://http.kali.org/kali kali-rolling/main all Packages Ign:5 http://http.kali.org/kali kali-rolling/main Translation-en_US Ign:6 http://http.kali.org/kali kali-rolling/main Translation-en Err:7 http://http.kali.org/kali kali-rolling/contrib amd64 Packages 400 Bad Request Ign:8 http://http.kali.org/kali kali-rolling/contrib all Packages Ign:9 http://http.kali.org/kali kali-rolling/contrib Translation-en_US Ign:10 http://http.kali.org/kali kali-rolling/contrib Translation-en Err:11 http://http.kali.org/kali kali-rolling/non-free amd64 Packages 400 Bad Request Ign:12 http://http.kali.org/kali kali-rolling/non-free all Packages Ign:13 http://http.kali.org/kali kali-rolling/non-free Translation-en_US Reading package lists... Done W: The repository 'http://http.kali.org/kali kali-rolling Release' does not have a Release file. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/main/binary-amd64/Packages 400 Bad Request W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/contrib/binary-amd64/Packages 400 Bad Request W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/non-free/binary-amd64/Packages 400 Bad Request E: Some index files failed to download. They have been ignored, or old ones used instead.
我認為 apt-get 軟體包存在一些問題,因為我可以通過瀏覽器訪問 Internet,並且 curl 也可以正常工作。我在此處按照以下連結 重新安裝 apt 軟體包,但這些
.deb
文件要麼已經更新,要麼已被棄用,因為它們不再位於此連結上。有什麼建議麼?
我面臨的問題是我的 WIFI,我不確定它的強度或傳出,我傳入的限制。我開始使用位於不同網路中的 LAN,一切正常。感謝大家嘗試幫助。
你可以嘗試在你的 Kali Linux 中檢查日期。一旦我在 VM 上安裝了 Debian,並且日期設置在實際日期前一年或一年半左右。我無法安裝或升級軟體包。