apt-get update running very slow
I have a fresh Kali Installation of 2016.1. I have the following in my 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
When I run apt-get update I get the following output:
Hit:1 http://kali.mirror.garr.it/mirrors/kali kali-rolling InRelease
Get:2 http://kali.mirror.garr.it/mirrors/kali kali-rolling/main i386 Packages [13.5 MB]
...
It works but the speed is very very slow in bytes per second. As far as I remember I didn't chose any mirror nor during the installation neither now. It's a fresh install. So, why is it so slow? I had 2.0 sana earlier and in that the update was very very fast.
Please help!
after changing in repo iam getting this error
apt update && apt full-upgrade
Err:1 http://repo.kali.org/kali kali-rolling InRelease
403 Forbidden
Reading package lists... Done
E: Failed to fetch http://repo.kali.org/kali/dists/kali-rolling/InRelease 403 Forbidden
E: Some index files failed to download. They have been ignored, or old ones used instead.
Quote:
Originally Posted by
inkbird
Change HTTP to REPO in your sources list
leafpad /etc/apt/sources.list
instead of:
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
use:
deb http://repo.kali.org/kali kali-rolling main contrib non-free
deb-src http://repo.kali.org/kali kali-rolling main contrib non-free
I recommend this to everyone..
Quote:
Originally Posted by
Jayanta
Repo doesnt seem to work after one of the latest update.
The urls 'HTTP' and 'REPO' are the original repositories and it redirects you to the nearest mirror from your geographical location and so most of the time it's busy,
You can manually override it by using on of the mirror's link directly.
https://github.com/LeN0/mirrorscript
you're welcome
At first I was only getting 5Kb/s speed.:( Then I used this too. It was great.:D It automatically tests the connection to the servers and sorts them. We just need to type 'update'.
Now it updates <1Mb/s speed.:cool:
Try it..
Hey it's not working..!!!
Same problem is in my case. Usually when downloading packages or updating them the speed is very slow in bytes but when surfing or downloading from browsers the speed is usually in MB's. Just in case I tried on various fast internet networks but result was same.
When I tried your method and typed apt-get upgrade it shows -
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
QUOTE=inkbird;58493]Change HTTP to REPO in your sources list
leafpad /etc/apt/sources.list
instead of:
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
use:
deb http://repo.kali.org/kali kali-rolling main contrib non-free
deb-src http://repo.kali.org/kali kali-rolling main contrib non-free[/QUOTE]