I’ve been having an error when updating or running any apt command for a week or so. Upgrading to LTS 18.04 hasn’t resolved it, nor has removing all old kernels. Space isn’t an issue either.
Attempting to reinstall initramfs doesn’t work. Error I get is:
Setting up initramfs-tools (0.136ubuntu6.3) …
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.136ubuntu6.3) …
update-initramfs: Generating /boot/initrd.img-5.4.0-52-generic
E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.4.0-52-generic with 1.
dpkg: error processing package initramfs-tools (–configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing: