期间,重新安装VMWare Tools,结果又遇到之前就遇到的那个提示:
1.参考:
Error while validating for Ubuntu 12.10 Kernel headers
去安装对应版本的linux source,结果是本身就已经安装好了:
1 2 3 4 5 6 7 8 9 10 |
crifan@ubuntu:~$ sudo apt-get install linux-headers-$( uname -r) Reading package lists... Done Building dependency tree Reading state information... Done linux-headers-3.8.0-27-generic is already the newest version. The following packages were automatically installed and are no longer required: dkms fakeroot g++-4.7 libdumbnet1 libstdc++6-4.7-dev zerofree Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. crifan@ubuntu:~$ |
2. sudo apt-get update&&sudo apt-get dist-upgrade
3.可以先去看看自己此处是否对应目录已有头文件,结果是有的:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
crifan@ubuntu:~$ ls /usr/src/linux- linux-headers-3.8.0-19/ linux-headers-3.8.0-27/ linux- source -3.2.0/ linux-headers-3.8.0-19-generic/ linux-headers-3.8.0-27-generic/ linux- source -3.2.0. tar .bz2 crifan@ubuntu:~$ ls</
|