这篇文章上次修改于 1468 天前,可能其部分内容已经发生变化,如有疑问可询问作者。

解决Kali2.0安装VMware tools缺少header
原因是官网的kali2代号是sana,所以源要用sana而不是kali,修改以下源更新后即可找到和下载linux-headers:

The Kali Rolling Repository

deb https://http.kali.org/kali kali-rolling main contrib non-free
 # For source package access, uncomment the following line
 # deb-src https://http.kali.org/kali kali-rolling main contrib non-free


Retired Kali sana (2.0) Repositories

deb https://old.kali.org/kali sana main non-free contrib
# For source package access, uncomment the following line
# deb-src https://old.kali.org/kali sana main non-free contrib

 
 
//之后执行

apt-get install gcc make linux-headers-$(uname -r)