xtables-дополнительная установка перестала работать

У меня есть сервер с человечностью 12.04 и когда я пытаюсь установить xtables-дополнение с этой командой module-assistant auto-install xtables-addons-source Я получаю эту ошибку

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.

Если я выполняю uname-r, я получаю это:

3.2.13-grsec-xxxx-grs-ipv6-64

Я думаю, что мой хост изменил установленную человечность ядра.

Как я могу зафиксировать это?

Спасибо

0
задан 11 August 2012 в 04:49

1 ответ

Вот как я исправил эту проблему:

изменить источник по умолчанию с здесь

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 из этой ссылки

0
ответ дан 11 August 2012 в 04:49

Другие вопросы по тегам:

Похожие вопросы: