sudo dpkg --configure -a
Setting up initramfs-tools (0.122ubuntu8.9) ...
update-initramfs: deferring update (trigger activated)
Setting up flash-kernel (3.0~rc.4ubuntu62.2) ...
Processing triggers for initramfs-tools (0.122ubuntu8.9) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-1076-raspi2
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
Unsupported platform.
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
initramfs-tools