On Sat, Apr 22, 2023 at 11:05:14AM +0000, Andrea Palazzi wrote: >>>Errors were encountered while processing: >>> grub-efi-amd64 >>> grub-efi >>>E: Sub-process /usr/bin/dpkg returned an error code (1) >> >>There's not a lot to see here so far. What happens if you run: >> >> "sudo grub-install -v" >> >> by hand please? > >Hi, > >not sure if it's relevant or not, but I'm running on a ZFS boot and root >filesystem.
Ok, thanks for the extra info. >Regarding the grub-install command, you can find attached the full output of >LC_ALL=C grub-install -v . Thanks. That's not showing anything unexpected, which surprises me. Could you please edit /var/lib/dpkg/info/grub-efi-amd64.postinst and add a line near the top saying set -x and then run # script -c "dpkg --configure --pending" dpkg.log please? That should capture whatever is failing in dpkg.log, I hope -- Steve McIntyre, Cambridge, UK. st...@einval.com We don't need no education. We don't need no thought control.