The error in your log is:
Removing cryptsetup (2:2.2.2-3ubuntu2) ...
double free or corruption (out)
dpkg: error processing package cryptsetup (--remove):
installed cryptsetup package pre-removal script subprocess was killed by
signal (Aborted), core dumped
dpkg: too many errors, stopping
This doesn't tell us what command within the maintainer script crashed;
however, the cryptsetup prerm script only invokes dmsetup, grep, and a
series of debconf commands, so if there is a bug here, it is not a bug
in cryptsetup itself.
In fact it is more likely that this is caused by either a hardware
error, or corruption on the USB media used for installing.
Were you able to complete your install, and boot into it? If you run
'sudo apt autoremove --purge' from a terminal, what is the output?
(Please type 'N' to cancel, don't run this yet.)
** Changed in: cryptsetup (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1876743
Title:
package cryptsetup 2:2.2.2-3ubuntu2 failed to install/upgrade:
installed cryptsetup package pre-removal script subprocess was killed
by signal (Aborted), core dumped
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1876743/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs