kali sudo apt install 无法定位软件包
在etc/apt 的sources.list 添加镜像源
debhttp://http.kali.org/kali kali-rolling main non-free contrib 或
deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
然后 sudo apt-get update/sudo apt update && sudo apt upgrade
接着安装就可以了。注意要连网。
-
deb cdrom:[Debian GNU/Linux 2017.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170416-02:08]/ kali-rolling contrib main non-free
-
-
deb cdrom:[Debian GNU/Linux 2017.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170416-02:08]/ kali-rolling contrib main non-free
-
-
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
-
-
#中科大kali源
-
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-src http://mirrors.aliyun.com/kali kali main non-free contrib
-
deb http://mirrors.aliyun.com/kali-security kali/updates main contrib non-free
more is better.haha
success.......
vmware出现无法定位Linux-headers。。。。。把官网源注释
-
#deb cdrom:[Debian GNU/Linux 2017.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170416-02:08]/ kali-rolling contrib main non-free
-
-
#deb cdrom:[Debian GNU/Linux 2017.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170416-02:08]/ kali-rolling contrib main non-free
-
-
#中科大kali源
-
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-src http://mirrors.aliyun.com/kali kali main non-free contrib
-
deb http://mirrors.aliyun.com/kali-security kali/updates main contrib non-free
-
#debian_wheezy国内源
-
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
-
# deb-src http://http.kali.org/kali kali-rolling main non-free contrib
可以进行测试:
apt-cache search linux-headers