It looks like you have the package ubiquity installed which is not needed and is causing a problem with the installation of initframfs-tools, please remove it (ubiquity).
It looks like you have the package ubiquity installed which is not needed and is causing a problem with the installation of initframfs-tools, please remove it (ubiquity).