I tried to install from the iso mounted to the virtual machine and from synaptic, but it won't work. If I run the file VBoxLinuxAdditons.run in the terminal it build the kernel modules and then say
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!
Does Virtualbox need to be upgrated for this Linux release?/var/log/vboxadd-install.log wrote:Uninstalling modules from DKMS
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxguest/4.1.18/source ->
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
cleaning build area....
make KERNELRELEASE=3.5.0-17-generic -C /lib/modules/3.5.0-17-generic/build M=/var/lib/dkms/vboxguest/4.1.18/build.........(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.5.0-17-generic (i686)
Consult /var/lib/dkms/vboxguest/4.1.18/build/make.log for more information.
Failed to install using DKMS, attempting to install without