I'm running Debian Squeeze.
While installing virtualbox I got error that I have no source for my kernel.
So I installed linux-source.
Code:
...
Selecting previously deselected package linux-source.
Unpacking linux-source (from .../linux-source_3.2+45~bpo60+1_all.deb) ...
Setting up linux-source-3.2 (3.2.23-1~bpo60+2) ...
Setting up linux-source (3.2+45~bpo60+1) ...
maciek@localhost:~$ sudo dpkg-reconfigure virtualbox-ose-dkms
------------------------------
Deleting module version: 3.2.10
completely from the DKMS tree.
------------------------------
Done.
Loading new virtualbox-ose-3.2.10 DKMS files...
Building only for 3.2.0-0.bpo.2-amd64
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
I think the main case the error popped is because I messed up with boot. I wanted everything in order, so I created boot partition and separate folders for separate kernels. (ie. Squeeze, Wheezy). Now I put back squeeze kernel to /boot and installed kernel source, but I don't know what to do now.
Also I tried
Code:
maciek@localhost:~$ sudo dpkg-reconfigure linux-headers-3.2.0-0.bpo.3-amd64
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.2.0-0.bpo.3-amd64
dkms: running auto installation service for kernel 3.2.0-0.bpo.3-amd64:
virtualbox-ose (3.2.10)...failed.
bpo.3 because I just updated them.