Bug#1034420: grub-efi-amd64: Package update fails with error: installation script subprocess returned error exit status 128

Steve McIntyre steve at einval.com
Thu Apr 27 14:49:10 BST 2023


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.                                steve at einval.com
We don't need no education.
We don't need no thought control.



More information about the Pkg-grub-devel mailing list