Kali2.0 can update sources.list from domestic sources to improve the speed of software download and installation
It is believed that many friends have encountered the problem that the update source is not available when trying kali.
I'm here to share.
After entering kali, uh, first change the directory to
/ etc/apt/
Then use a text editor (recommended by beginners) or vi (I believe experts are used to this) to open the sources.list file.
And then, add the following update sources to the document
# deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contribdeb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib# Aliyun # deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib#deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib# Tsinghua University # deb http://mirrors.tuna.tsinghua.edu.cn/kali kali -rolling main contrib non-free#deb-src https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free# Zhejiang University # deb http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free#deb-src http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free# # deb http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib#deb-src http: / / mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib# official source # deb http://http.kali.org/kali kali-rolling main non-free contrib#deb-src http://http.kali.org/kali kali-rolling main non-free contrib# # deb http://http.kali.org/kali kali-rolling main non-free contrib#deb-src http://http.kali.org/kali kali-rolling main non-free contrib
After saving, go back to the command line to execute the command:
Apt-get update & & apt-get upgrade & & apt-get dist-upgrade
Apt-get clean # Delete the following packages
Reboot # restart
There should be no problem.
Note:
Common apt-get commands:
Update-retrieve updated package list information
Upgrade-perform an upgrade
Install-install a new package (Note: the package name is libc6, not libc6.deb)
Remove-Uninstall the package
Purge-Uninstall and clear the configuration of the package
Autoremove-Uninstall all packages that are automatically installed and no longer in use
Dist-upgrade-release upgrade, see apt-get (8)
Dselect-upgrade-upgrade based on dselect's choice
Build-dep-configure the compilation dependencies required for the source package
Clean-Delete all downloaded package files
Autoclean-Delete downloaded old package files
Check-check to confirm the integrity of the system's dependencies
Source-download the source package file
Download-download the specified binary package to the current directory
Changelog-downloads the specified package and displays its changelog