Not sure about the proposed workaround, because I don't know what would happen to the encrypted /home when we purge cryptsetup. Instead, I've done the following sequence:
Remove swap line from /etc/fstab
Remove swap line from /etc/crypttab
sudo update-initramfs -u
sudo update-grub
Not sure about the proposed workaround, because I don't know what would happen to the encrypted /home when we purge cryptsetup. Instead, I've done the following sequence:
Remove swap line from /etc/fstab
Remove swap line from /etc/crypttab
sudo update-initramfs -u
sudo update-grub
(The answer that I've taken the last 2 commands from: https:/ /askubuntu. com/a/1009647 - might be helpful for someone).