Eu atualizei do Ubuntu 15.04 64-bit para 15.10 64-bit. Depois, o kernel mostra uma versão mais antiga que a instalada:
$ uname -r
3.13.0-57-generic
Mesmo que o 4.2 esteja instalado:
$ dpkg -l | grep linux-image
rc linux-image-3.19.0-15-generic 3.19.0-15.15 amd64 Linux kernel image for version 3.19.0 on 64 bit x86 SMP
rc linux-image-3.19.0-22-generic 3.19.0-22.22 amd64 Linux kernel image for version 3.19.0 on 64 bit x86 SMP
rc linux-image-3.19.0-28-generic 3.19.0-28.30 amd64 Linux kernel image for version 3.19.0 on 64 bit x86 SMP
ii linux-image-4.2.0-16-generic 4.2.0-16.19 amd64 Linux kernel image for version 4.2.0 on 64 bit x86 SMP
rc linux-image-extra-3.19.0-15-generic 3.19.0-15.15 amd64 Linux kernel extra modules for version 3.19.0 on 64 bit x86 SMP
rc linux-image-extra-3.19.0-22-generic 3.19.0-22.22 amd64 Linux kernel extra modules for version 3.19.0 on 64 bit x86 SMP
rc linux-image-extra-3.19.0-28-generic 3.19.0-28.30 amd64 Linux kernel extra modules for version 3.19.0 on 64 bit x86 SMP
ii linux-image-extra-4.2.0-16-generic 4.2.0-16.19 amd64 Linux kernel extra modules for version 4.2.0 on 64 bit x86 SMP
ii linux-image-generic 4.2.0.16.18 amd64 Generic Linux kernel image
Tentei reinstalar o linux-general de acordo com alguns outros tópicos, mas sem sorte:
$ sudo apt-get install --reinstall linux-generic linux-headers-generic linux-image-generic
[sudo] password for chris:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 3 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/6,658 B of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 60056 files and directories currently installed.)
Preparing to unpack .../linux-generic_4.2.0.16.18_amd64.deb ...
Unpacking linux-generic (4.2.0.16.18) over (4.2.0.16.18) ...
Preparing to unpack .../linux-headers-generic_4.2.0.16.18_amd64.deb ...
Unpacking linux-headers-generic (4.2.0.16.18) over (4.2.0.16.18) ...
Preparing to unpack .../linux-image-generic_4.2.0.16.18_amd64.deb ...
Unpacking linux-image-generic (4.2.0.16.18) over (4.2.0.16.18) ...
Setting up linux-image-generic (4.2.0.16.18) ...
Setting up linux-headers-generic (4.2.0.16.18) ...
Setting up linux-generic (4.2.0.16.18) ...
Eu reiniciei muitas vezes, ainda nada.
O que devo fazer para instalar corretamente o kernel? Está me impedindo de executar o iptables:
$ sudo iptables -L
modprobe: ERROR: ../libkmod/libkmod.c:578 kmod_search_moddep() could not open moddep file '/lib/modules/3.13.0-57-generic/modules.dep.bin'
iptables v1.4.21: can't initialize iptables table 'filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Qualquer ideia apreciada. Se relevante, isso está em um droplet DigitalOcean.
obrigado.