PDA

View Full Version : apt-get update not working on my kali 2.0 rolling



linuxfree
2017-08-22, 12:08
root@linux:~# apt-get update
Obter:1 http://download.virtualbox.org/virtualbox/debian vivid InRelease [7.140 B]
Obter:2 http://download.virtualbox.org/virtualbox/debian vivid/contrib i386 Packages [1.902 B]
Err:3 http://http.kali.org/kali kali-rolling InRelease
Não foi possÃ*vel conectar em http.kali.org:80 (192.99.200.113), conexão expirou
Err:4 http://http.kali.org/kali kali-dev-only InRelease
Não foi possÃ*vel ligar a http.kali.org:http:
Baixados 9.042 B em 2min 0s (75 B/s)
Lendo listas de pacotes... Pronto
W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease Não foi possÃ*vel conectar em http.kali.org:80 (192.99.200.113), conexão expirou
W: Failed to fetch http://http.kali.org/kali/dists/kali-dev-only/InRelease Não foi possÃ*vel ligar a http.kali.org:http:
W: Falhou o download de alguns ficheiros de Ã*ndice. Foram ignorados ou os antigos foram usados em seu lugar.

My internet working fine few days i,m trying install packages and update without sucess.

my sources.list is

# The Kali Rolling Repository

# kali-rolling is our current active repository since the release of Kali 2016.1. Kali Rolling users are expected to have the following entries in
# their sources.list:

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

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

deb http://http.kali.org/kali kali-dev-only main non-free contrib


If anybody can help me please post here

thanks

Mister_X
2017-08-22, 19:27
Two things:
- 2.0 hasn't been supported in years.
- We don't recommend adding other repos, you will break the distro, sooner or later.

linuxfree
2017-08-23, 11:10
How can i update my pear?

root@linux:~/Downloads# apt-cache show perl
Package: perl
Status: install ok unpacked
Priority: standard
Section: perl
Installed-Size: 577
Maintainer: Niko Tyni <[email protected]>
Architecture: i386
Multi-Arch: allowed
Version: 5.26.0-5
Config-Version: 5.22.1-4
Replaces: perl-modules (<< 5.22.0~)
Depends: perl-base (= 5.26.0-5), perl-modules-5.26 (>= 5.26.0-5), libperl5.26 (= 5.26.0-5)


I need replace config-Version from 5.22.1-4 to 5.26.0-5 How can a made this?

_defalt
2017-08-23, 17:21
How can i update my pear?
sudo apt-get upgrade will take care of that.

Mister_X
2017-08-23, 21:55
_defalt, it will NOT be working, he's on 2.0