Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 17 You must be signed in to star a gist
  • Fork 7 You must be signed in to fork a gist
  • Save kuamit5516/7d2f28f20ee0889aceb56395c290143c to your computer and use it in GitHub Desktop.
Save kuamit5516/7d2f28f20ee0889aceb56395c290143c to your computer and use it in GitHub Desktop.
Fix-Slow-apt-get-update-Optimize-Kali-Linux-2019-New-Working-Code
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
@isharaman8
Copy link

Thank u so much broo

@kasiw-404
Copy link

is it good to use these repositories instead of default?
Won't it give some error in future?

no it's gonna be ok

@kasiw-404
Copy link

Kazam_screenshot_00021
thaaaaaaaaaaanks dudeeeee__

@noskac
Copy link

noskac commented Oct 18, 2021

its workkkk

Copy link

ghost commented Oct 19, 2021

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