Foi assim que resolvi este problema:
altere a fonte para o padrão de aqui
apt-get update
apt-get install linux-image-server
cd /etc/grub.d/
mv 06_OVHkernel /root/
update-grub
reboot
apt-get install linux-headers-'uname -r'
insiperd deste link
Eu tenho um servidor com o Ubuntu 12.04 e quando eu tento instalar o xtables-addon com este comando module-assistant auto-install xtables-addons-source
eu recebo este erro
Bad luck, the kernel headers for the target kernel version could not be found and you did not specify other valid kernel headers to use.
If the running kernel has been shipped with the Debian distribution, please install the package linux-headers-3.2.13-grsec-xxxx-grs-ipv6-64. If your kernel
source tree (or headers) is located in some non-usual location,please set the KERNELDIRS environment variable to the path of this directory, or (alternatively) specify the source directory
we build for with the --kernel-dir option in module-assistant calls.
Se eu executar o uname -r, recebo isto:
3.2.13-grsec-xxxx-grs-ipv6-64
Eu acho que meu host modificou o ubuntu do kernel instalado.
Como posso corrigir isso?
Obrigado