[15:28] Hi, I'm using the kernel 4.16.3 from the mainline and when I try to remove the 4.16.2 linux-image this error happened: Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-4.16.2-041602-generic.postrm line 330. [15:56] FurretUber, can you pastebin that /var/lib/dpkg/info/linux-image-4.16.2-041602-generic.postrm for me so i can see what your postrm looks like [15:57] https://paste.ubuntu.com/p/8wD8tR92WF/ [15:58] FurretUber, and what is in /etc/kernel/postrm.d ? [16:05] Found the issue, it was with the grub configuration [16:07] Strange it did not pointed to grub. When using sudo update-grub it gave the following errors: erro: memória insuficiente. erro: syntax error. erro: Incorrect command. erro: syntax error. [19:20] FurretUber: "memória insuficiente" sound slike your /boot file system may have run full? [20:07] I think the issue was with grub configuration: it was lacking a "}"