I was running Debian Jessie as Linux Guest, when I upgraded to Debian Stretch. I reinstalled the VBox Additions in this way:
Code: Select all
login as root
m-a prepare
sh VBoxLinuxAdditions.run
But:The headers for the current running kernel were not found. If the following module compilation fails then this could be the reason.
Building the main Guest Additions module ...fail!
Code: Select all
uname -r
4.6.0-1-amd64
Code: Select all
ls /lib/modules/
4.6.0-1-amd64
Inspecting var/log/vboxadd-install.log I found:
Code: Select all
grep: /lib/modules/4.6.0-1-amd64/build/include/linux/version.h: No such file or directoryIt's a common behavior? How to tell VBox installer where to find that file?