<html><head></head><body><div class="ydpb1ca1515yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
<div dir="ltr" data-setdir="false">Hi,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">here below you can find the results of the script with set -x added right after set -e.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div>cript started on 2023-05-07 10:10:40+02:00 [COMMAND="dpkg --configure --pending" TERM="screen-256color" TTY="/dev/pts/3" COLUMNS="153" LINES="47"]<br>Setting up grub-efi-amd64 (2.06-12) ...<br>+ cached_available_ids=<br>+ case "$1" in<br>+ . /usr/share/debconf/confmodule<br>++ '[' '!' '' ']'<br>++ PERL_DL_NONLAZY=1<br>++ export PERL_DL_NONLAZY<br>++ '[' '' ']'<br>++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/grub-efi-amd64.postinst configure 2.06-7<br>[1mdpkg:[0m error processing package grub-efi-amd64 (--configure):<br> installed grub-efi-amd64 package post-installation script subprocess returned error exit status 128<br>[1mdpkg:[0m dependency problems prevent configuration of grub-efi:<br> grub-efi depends on grub-efi-amd64 (= 2.06-12); however:<br> Package grub-efi-amd64 is not configured yet.<br><br>[1mdpkg:[0m error processing package grub-efi (--configure):<br> dependency problems - leaving unconfigured<br>Errors were encountered while processing:<br> grub-efi-amd64<br> grub-efi<br><br>Script done on 2023-05-07 10:10:40+02:00 [COMMAND_EXIT_CODE="1"]</div><div><br></div><div dir="ltr" data-setdir="false">Hope this helps... BTW what does the exist status 128 means exactly?</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Bye</div><div dir="ltr" data-setdir="false">Andrea<br></div><div><br></div></div><div><br></div>
</div><div id="ydpad1183eeyahoo_quoted_4301810090" class="ydpad1183eeyahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
Il giovedì 27 aprile 2023 15:50:10 CEST, Steve McIntyre <steve@einval.com> ha scritto:
</div>
<div><br></div>
<div><br></div>
<div>On Sat, Apr 22, 2023 at 11:05:14AM +0000, Andrea Palazzi wrote:<br clear="none">>>>Errors were encountered while processing:<br clear="none">>>> grub-efi-amd64<br clear="none">>>> grub-efi<br clear="none">>>>E: Sub-process /usr/bin/dpkg returned an error code (1)<br clear="none">>><br clear="none">>>There's not a lot to see here so far. What happens if you run:<br clear="none">>><br clear="none">>> "sudo grub-install -v"<br clear="none">>><br clear="none">>> by hand please?<br clear="none">><br clear="none">>Hi,<br clear="none">><br clear="none">>not sure if it's relevant or not, but I'm running on a ZFS boot and root<br clear="none">>filesystem.<br clear="none"><br clear="none">Ok, thanks for the extra info.<div class="ydpad1183eeyqt7031607104" id="ydpad1183eeyqtfd67115"><br clear="none"><br clear="none">>Regarding the grub-install command, you can find attached the full output of<br clear="none">>LC_ALL=C grub-install -v .</div><br clear="none"><br clear="none">Thanks. That's not showing anything unexpected, which surprises me.<br clear="none"><br clear="none">Could you please edit /var/lib/dpkg/info/grub-efi-amd64.postinst and<br clear="none">add a line near the top saying<br clear="none"><br clear="none">set -x<br clear="none"><br clear="none">and then run<br clear="none"><br clear="none"># script -c "dpkg --configure --pending" dpkg.log<br clear="none"><br clear="none">please? That should capture whatever is failing in dpkg.log, I hope<br clear="none"><br clear="none">-- <br clear="none">Steve McIntyre, Cambridge, UK. <a shape="rect" href="mailto:steve@einval.com" rel="nofollow" target="_blank">steve@einval.com</a><br clear="none">We don't need no education.<br clear="none">We don't need no thought control.<div class="ydpad1183eeyqt7031607104" id="ydpad1183eeyqtfd26297"><br clear="none"><br clear="none"></div></div>
</div>
</div></body></html>