O problema que enfrentei foi o meu Wi-Fi, não tenho certeza nem da sua força nem das restrições de entrada e saída. Comecei a usar a LAN, que estava em rede diferente e tudo funciona bem. Obrigado a todos por tentarem ajuda.
Eu instalei kali-linux rolling 2016.1
recentemente e a saída de uname -a
é
Linux kali 4.3.0-kali1-amd64 #1 SMP Debian 4.3.3-5kali4 (2016-01-13) x86_64 GNU/Linux
Após a instalação, atualizei meu arquivo sources.list de acordo com os repositórios mais recentes disponíveis
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
Depois de executar o comando apt-get update não consigo atualizar a lista de pacotes, simplesmente não funciona exibindo a saída
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.
Eu acho que há algum problema com os pacotes do apt-get, já que eu posso acessar a Internet através do navegador e o curl também está funcionando bem.
Eu segui o seguinte link aqui para reinstalar os pacotes apt mas esses arquivos .deb
já estão atualizados ou ficaram obsoletos porque não estão mais neste link.
Alguma sugestão?
Você pode tentar verificar a data no seu Kali Linux. Uma vez eu tenho o Debian na VM e a data foi definida por ano ou ano e meio antes da data real. Não consegui instalar ou atualizar pacotes.
De acordo com a documentação :
The single most common causes of a broken Kali Linux installation are following unofficial advice, and particularly arbitrarily populating the system’s sources.list file with unofficial repositories. The following post aims to clarify what repositories should exist in sources.list, and when they should be used.
Any additional repositories added to the Kali sources.list file will most likely BREAK YOUR KALI LINUX INSTALL.
Verifique se o seu /etc/apt/sources.list
tem apenas estas três linhas:
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
Verifique também se o diretório /etc/apt/sources.list.d
está vazio.
Tags apt upgrade repository kali-linux