PDA

View Full Version : can't connect on kali servers to download package



mach
2016-05-04, 18:52
i'm trying to get udhcpd, but the connection stuck on 0% :


apt-get install udhcpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
udhcpd
0 upgraded, 1 newly installed, 0 to remove and 18 not upgraded.
Need to get 24,2 kB of archives.
After this operation, 88,1 kB of additional disk space will be used.
0% [Connecting to http.kali.org (192.99.200.113)]

.. 10 sec and :


root@a:~# apt-get install udhcpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
udhcpd
0 upgraded, 1 newly installed, 0 to remove and 18 not upgraded.
Need to get 24,2 kB of archives.
After this operation, 88,1 kB of additional disk space will be used.
Err:1 http://http.kali.org/kali sana/main amd64 udhcpd amd64 1:1.22.0-9+deb8u1
Could not connect to http.kali.org:80 (192.99.200.113), connection timed out
E: Failed to fetch http://http.kali.org/kali/pool/main/b/busybox/udhcpd_1.22.0-9+deb8u1_amd64.deb Could not connect to http.kali.org:80 (192.99.200.113), connection timed out

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

any ideas what's wrong ?

thanks

deanMKD1
2016-05-04, 20:40
What Kali version 2.0 Sana or Latest roling Distribution?

For Kali Sana 2.0 go to:



/etc/apt/sources.list


and make sure that this Repo is there, and is not commented.



deb http://http.kali.org/kali sana main non-free contrib
deb http://security.kali.org/kali-security sana/updates main contrib non-free
# For source package access, uncomment the following line
# deb-src http://http.kali.org/kali sana main non-free contrib
# deb-src http://security.kali.org/kali-security sana/updates main contrib non-free

For Kali Roling make sure that this repos are there in this format:



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


after that Save the list, and make apt-get update to get repos list packages.

Also ! Do not mix Kali Sana and Roling into sources.list file !

mach
2016-05-05, 00:55
Thanks, the problem was some aircrack activation. I guess it made a mess because after reboot it worked.

wiso2010
2017-03-28, 12:16
What did you do in order to get this going. I'm having the same issue.