ubuntu@ubuntu:~$ sudo dpkg --configure initramfs-tools
Setting up initramfs-tools (0.98.1ubuntu2) ...
update-initramfs: deferring update (trigger activated)
cp: cannot stat `/vmlinuz': No such file or directory
dpkg: error processing initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
initramfs-tools
ubuntu@ubuntu:~$
Just running sudo dpkg --config initramfs-tools:
ubuntu@ubuntu:~$ sudo dpkg --configure initramfs-tools
Setting up initramfs-tools (0.98.1ubuntu2) ...
update-initramfs: deferring update (trigger activated)
cp: cannot stat `/vmlinuz': No such file or directory
dpkg: error processing initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
initramfs-tools
ubuntu@ubuntu:~$