It looks like you have the casper package installed which is causing an issue:
Processing triggers for initramfs-tools ... update-initramfs: Generating /boot/initrd.img-2.6.32-38-generic not empty E: /usr/share/initramfs-tools/hooks/casper failed with return 1. update-initramfs: failed for /boot/initrd.img-2.6.32-38-generic with 1. dpkg: error processing initramfs-tools (--configure):
It looks like you have the casper package installed which is causing an issue:
Processing triggers for initramfs-tools ... img-2.6. 32-38-generic initramfs- tools/hooks/ casper failed with return 1. img-2.6. 32-38-generic with 1.
update-initramfs: Generating /boot/initrd.
not empty
E: /usr/share/
update-initramfs: failed for /boot/initrd.
dpkg: error processing initramfs-tools (--configure):