标签:his apt-get for div rem install lin 注释 war
(需要把官方源注释掉)
# #deb cdrom:[Debian GNU/Linux 2018.2 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20180412-10:55]/ kali-last-snapshot contrib main non-free #deb cdrom:[Debian GNU/Linux 2018.2 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20180412-10:55]/ kali-last-snapshot contrib main non-free # 官方源 # deb-src http://http.kali.org/kali/ kali-rolling main non-free contrib deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib deb http://http.kali.org/kali kali-rolling main non-free contrib # 中科大源 deb http://mirrors.ustc.edu.cn/kali kali main non-free contrib deb-src http://mirrors.ustc.edu.cn/kali kali main non-free contrib deb http://mirrors.ustc.edu.cn/kali-security kali/updates main contrib non-free # 阿里云kali源 deb http://mirrors.aliyun.com/kali kali main non-free contrib deb http://mirrors.aliyun.com/kali sana main non-free contrib deb http://mirrors.aliyun.com/kali-security sana/updates main contrib non-free deb-src http://mirrors.aliyun.com/kali kali main non-free contrib deb http://mirrors.aliyun.com/kali-security kali/updates main contrib non-free deb-src http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib deb http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib deb-src http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib deb http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib deb-src http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib deb http://mirrors.163.com/debian wheezy main non-free contrib deb-src http://mirrors.163.com/debian wheezy main non-free contrib deb http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib deb-src http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib deb-src http://mirrors.163.com/debian-security wheezy/updates main non-free contrib deb http://mirrors.163.com/debian-security wheezy/updates main non-free contrib deb http://http.kali.org/kali kali-rolling main non-free contrib # This system was installed using small removable media # (e.g. netinst, live or single CD). The matching "deb cdrom" # entries were disabled at the end of the installation process. # For information about how to configure apt package sources, # see the sources.list(5) manual.
配置完上面的文件后,输入
apt-cache search linux-headers
进行测试。
标签:his apt-get for div rem install lin 注释 war
原文地址:https://www.cnblogs.com/Mishell/p/12535063.html