I have installed vitualbox on Debian Jessie according to instructions on debian wiki.
By running:
apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') virtualbox
During installation some errors were reported.
Now I want to re-configure virtualbox-dkms but I receive this error:
Loading new virtualbox-4.3.18 DKMS files...
Building only for 3.16-3-amd64
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
Note: uname -r shows 3.16-3-amd64 but my source folder in /usr/src is named:
linux-headers-3.16.0-4-amd64.
I don't know what to do!