O arquivo em falta /etc/initramfs/post-update.d/zz-flash-touch-initrd
faz parte do pacote initramfs-tools-ubuntu-touch
. Portanto, instale-o novamente
sudo apt-get install --reinstall initramfs-tools-ubuntu-touch
No passado eu havia tentado atualizar o kernel do Ubuntu com o encontrado no link . Devido a alguns problemas, tive que reverter as alterações, pois a imagem do meu kernel não inicializou bem.
Desde então, recebo o erro abaixo quando tento executar sudo apt-get upgrade
ou quando tento instalar qualquer aplicativo:
Processing triggers for initramfs-tools (0.103ubuntu4.2) ...
update-initramfs: Generating /boot/initrd.img-3.13.0-46-generic
/etc/initramfs/post-update.d//zz-flash-touch-initrd: 9: /etc/initramfs/post-update.d//zz-flash-touch-initrd: /usr/sbin/flash-touch-initrd: not found
run-parts: /etc/initramfs/post-update.d//zz-flash-touch-initrd exited with return code 127
dpkg: error processing package initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
Errors were encountered while processing:
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
Por favor, ajude-me a acertar meu kernel.
O arquivo em falta /etc/initramfs/post-update.d/zz-flash-touch-initrd
faz parte do pacote initramfs-tools-ubuntu-touch
. Portanto, instale-o novamente
sudo apt-get install --reinstall initramfs-tools-ubuntu-touch