Created
January 22, 2019 12:00
-
-
Save kuamit5516/7d2f28f20ee0889aceb56395c290143c to your computer and use it in GitHub Desktop.
Fix-Slow-apt-get-update-Optimize-Kali-Linux-2019-New-Working-Code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Open Terminal and type - leafpad /etc/resolv.conf | |
add this - nameserver 8.8.8.8 | |
nameserver 8.8.4.4 | |
save and exit | |
now open new terminal and type - leafpad /etc/apt/sources.list | |
add this - #Repositories : | |
deb http://kali.cs.nctu.edu.tw/kali kali-rolling main contrib non-free | |
deb-src http://kali.cs.nctu.edu.tw/kali kali-rolling main contrib non-free | |
now save and exit | |
Open new Terminal and type apt-get update && apt-get upgrade && apt-get dist-upgrade | |
press enter | |
now see this working | |
Thank u so much broo
is it good to use these repositories instead of default?
Won't it give some error in future?
no it's gonna be ok
its workkkk
it's work but showing an error :(
like this:
Get:4 http://security.ubuntu.com/ubuntu cosmic-security InRelease [83.2 kB]
Ign:5 http://packages.ros.org/ros/ubuntu cosmic InRelease Err:6 http://packages.ros.org/ros/ubuntu cosmic Release 404 Not Found [IP: 64.50.236.52 80] Reading package lists... Done
E: The repository 'http://packages.ros.org/ros/ubuntu cosmic Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Awesome bro. Very well solution. Thanks a lot