Removing linux-headers-4.4.0-154-generic (4.4.0-154.181) ... Removing linux-headers-4.4.0-154 (4.4.0-154.181) ... Removing linux-modules-extra-4.4.0-154-generic (4.4.0-154.181) ... Removing linux-image-4.4.0-154-generic (4.4.0-154.181) ... /etc/kernel/postrm.d/initramfs-tools: update-initramfs: Deleting /boot/initrd.img-4.4.0-154-generic /etc/kernel/postrm.d/zz-update-grub: Searching for GRUB installation directory ... found: /boot/grub Searching for default file ... Generating /boot/grub/default file and setting the default boot entry to 0 Searching for GRUB installation directory ... found: /boot/grub Testing for an existing GRUB menu.lst file ... Could not find /boot/grub/menu.lst file. Would you like /boot/grub/menu.lst generated for you? (y/N) /usr/sbin/update-grub: linha 1094: read: erro de leitura: 0: Descritor de arquivo inválido run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1 dpkg: error processing package linux-image-4.4.0-154-generic (--remove): subprocess installed post-removal script returned error exit status 1