`curtin` command fails due to grub-efi-amd64 pkg conflicts

I managed to resolve this by having a customized script on image building:

dpkg-query -f '${binary:Package}\n' -W | grep grub | xargs apt-mark unhold

This allows curtin to do dpkg-reconfigure for all grub- packages while installing.

1 Like