Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Kali2.0 can update sources.list from domestic sources to improve the speed of software download and installation

2025-02-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report