非攻飞攻,夜尽天明!
分类: LINUX
2014-01-04 08:41:17
kali linux (debian)
刚刚安装上系统后
apt-cache search linux-headers-`uname -r` # 没有结果
uname -r 结果 : 3.7-trunk-686-pae , 找不到这个内核版本的头
找到了这个内核的源:
deb /kali main contrib non-free
deb /wheezy main contrib non-free
deb kali-dev main contrib non-free
deb kali-dev main/debian-installer
deb-src kali-dev main contrib non-free
deb kali main contrib non-free
deb kali main/debian-installer
deb-src kali main contrib non-free
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
deb kali-bleeding-edge main
上面的把它加进 /etc/apt/sources.list 里面去就行了。
apt-get update
apt-get install linux-headers-`uname -r`
终于解决了。