web-dev-qa-db-ja.com

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.

ブラウザ経由でインターネットにアクセスでき、curlも正常に機能しているため、apt-getパッケージにはいくつかの問題があると思います。次のリンク here をたどってaptパッケージを再インストールしましたが、これらの.debファイルはすでに更新されているか、このリンクから削除されているため、廃止されています。

助言がありますか?

2
aneela

私が直面した問題は私のWIFIでした。その強さも、発信、着信の制約もわかりません。別のネットワークにあるLANを使い始めましたが、すべて正常に動作します。助けてくれてありがとう。

0
aneela

ドキュメント によると:

Kali Linuxのインストールが失敗する最も一般的な原因の1つは、非公式のアドバイスに従い、特にシステムのsources.listファイルに非公式のリポジトリを任意に追加することです。次の投稿は、sources.listに存在する必要があるリポジトリと、それらをいつ使用するかを明確にすることを目的としています。

Kali sources.listファイルに追加された追加のリポジトリは、おそらくあなたのKALI LINUXインストールを壊します。

あなたの/etc/apt/sources.listには次の3行しかありません。

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

ディレクトリ/etc/apt/sources.list.dは空です。

0
Ortomala Lokni

Kali Linuxで日付を確認してみてください。 VM=にDebianをインストールし、実際の日付の約1年または1年半前に日付を設定すると、パッケージをインストールまたはアップグレードできませんでした。

0
mrc02_kr