apt-get Lista de pacotes abortados

1

Não é possível atualizar. Qualquer chamada apt-get return:

Aborted package lists... 3%.

Como consertar isso?

root@kali:~# apt-get update
Get:1 http://kali.volia.net/kali kali-rolling InRelease [30.5 kB]
Get:2 http://kali.volia.net/kali kali-rolling/main amd64 Packages [15.4 MB]
Get:3 http://kali.volia.net/kali kali-rolling/non-free amd64 Packages [165 kB] 
Get:4 http://kali.volia.net/kali kali-rolling/contrib amd64 Packages [109 kB]  
Fetched 15.7 MB in 10s (1522 kB/s)                                             
Aborted
Aborted package lists... 95%
root@kali:~# apt-get check
Aborted package lists... 3%
root@kali:~# apt-get install
Aborted package lists... 3%

root@kali:~# uname -a
Linux kali 4.12.0-kali1-amd64 #1 SMP Debian 4.12.6-1kali6 (2017-08-30) x86_64 GNU/Linux
root@kali:~# cat /etc/apt/sources.list
# 

# deb cdrom:[Debian GNU/Linux 2017.2 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170917-01:51]/ kali-rolling contrib main non-free

#deb cdrom:[Debian GNU/Linux 2017.2 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170917-01:51]/ kali-rolling contrib main non-free

deb http://http.kali.org/kali kali-rolling main non-free contrib
# deb-src http://http.kali.org/kali kali-rolling main non-free contrib

# deb http://old.kali.org/kali sana main non-free contrib

root@kali:~# apt-cache gencaches
Aborted package lists... 3%
root@kali:~# apt update
Get:1 http://kali.volia.net/kali kali-rolling InRelease [30.5 kB]
Get:2 http://kali.volia.net/kali kali-rolling/main amd64 Packages [15.4 MB]
Fetched 15.4 MB in 12s (1271 kB/s)                                             
Aborted
Aborted package lists... 95%
    
por Green 16.10.2017 / 06:49

1 resposta

2

A linha deb http://http.kali.org/kali kali-rolling main non-free contrib parece problemática. Se você copiar e colar PARTE dele, desenha um espaço em branco - http://http.kali.org/kali

O repositório parece ser agora HTTP S

https://www.kali.org/news/kali-linux-repository-https-support/

Eu mudaria a linha para deb https://http.kali.org/kali kali-rolling main non-free contrib

Se você tentar PARTE dessa linha, ela funcionará e levará você para https://http.kali.org/kali/

    
por 16.10.2017 / 19:13