<div dir="ltr"><pre style="font-family:courier,"courier new",monospace;font-size:14px;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0)">Hi,</pre><pre style="font-family:courier,"courier new",monospace;font-size:14px;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0)">I am running into the same problem.
One of my machines fails the install with:
installed grub-efi-amd64 package post-installation script subprocess returned error exit status 128
here the full log with -x in and DEBCONF_DEBUG=developer
# dpkg --configure -a --debug=7777777777<br>D000001: root= admindir=/var/lib/dpkg<br>D000001: ensure_diversions: new, (re)loading<br>D000001: process queue pkg grub-efi:amd64 queue.len 1 progress 1, try 1<br>D000040: checking dependencies of grub-efi:amd64 (- <none>)<br>D000400: checking group ...<br>D000400: checking possibility -> grub-common<br>D000400: checking non-provided pkg grub-common:amd64<br>D000400: is installed, ok and found<br>D000400: found 3<br>D000400: found 3 matched 0 possfixbytrig -<br>D000400: checking group ...<br>D000400: checking possibility -> grub-efi-amd64<br>D000400: checking non-provided pkg grub-efi-amd64:amd64<br>D000400: unpacked/halfconfigured, defer<br>D000400: found 1<br>D000400: found 1 matched 0 possfixbytrig -<br>D000040: ok 1 msgs >><<<br>D000001: process queue pkg grub-efi-amd64:amd64 queue.len 1 progress 2, try 1<br>D000040: checking dependencies of grub-efi-amd64:amd64 (- <none>)<br>D000400: checking group ...<br>D000400: checking possibility -> debconf<br>D000400: checking non-provided pkg debconf:all<br>D000400: is installed, ok and found<br>D000400: found 3<br>D000400: found 3 matched 0 possfixbytrig -<br>D000400: checking group ...<br>D000400: checking possibility -> grub-common<br>D000400: checking non-provided pkg grub-common:amd64<br>D000400: is installed, ok and found<br>D000400: found 3<br>D000400: found 3 matched 0 possfixbytrig -<br>D000400: checking group ...<br>D000400: checking possibility -> grub2-common<br>D000400: checking non-provided pkg grub2-common:amd64<br>D000400: is installed, ok and found<br>D000400: found 3<br>D000400: found 3 matched 0 possfixbytrig -<br>D000400: checking group ...<br>D000400: checking possibility -> grub-efi-amd64-bin<br>D000400: checking non-provided pkg grub-efi-amd64-bin:amd64<br>D000400: is installed, ok and found<br>D000400: found 3<br>D000400: found 3 matched 0 possfixbytrig -<br>D000400: checking group ...<br>D000400: checking possibility -> ucf<br>D000400: checking non-provided pkg ucf:all<br>D000400: is installed, ok and found<br>D000400: found 3<br>D000400: found 3 matched 0 possfixbytrig -<br>D000040: ok 2 msgs >><<<br>D000040: checking Breaks<br>D000400: checking breaker grub2-common:amd64 virtbroken <none><br>Setting up grub-efi-amd64 (2.06-13+deb12u1) ...<br>D020000: trigproc_activate_packageprocessing pkg=grub-efi-amd64:amd64<br>D000002: fork/exec /var/lib/dpkg/info/grub-efi-amd64.postinst ( configure 2.06-3~deb11u6 )<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-3~deb11u6<br>debconf (developer): frontend started<br>debconf (developer): frontend running, package name is grub-efi-amd64<br>debconf (developer): starting /var/lib/dpkg/info/grub-efi-amd64.config configure 2.06-3~deb11u6<br>debconf (developer): <-- SET grub2/linux_cmdline <br>debconf (developer): --> 0 value set<br>debconf (developer): <-- SET grub2/linux_cmdline_default module.sig_enforce=0 i915.preliminary_hw_support=1 intel_iommu=on amd_iommu=on kvm_amd.npt=1 kvm_amd.avic=1 iommu=pt<br>debconf (developer): --> 0 value set<br>debconf (developer): <-- <br>debconf (developer): --> 20 Bad line "" received from confmodule.<br>debconf (developer): <-- INPUT medium grub2/linux_cmdline<br>debconf (developer): --> 30 question skipped<br>debconf (developer): <-- INPUT medium grub2/linux_cmdline_default<br>debconf (developer): --> 30 question skipped<br>debconf (developer): <-- INPUT low grub2/enable_os_prober<br>debconf (developer): --> 30 question skipped<br>debconf (developer): <-- INPUT low grub2/force_efi_extra_removable<br>debconf (developer): --> 30 question skipped<br>debconf (developer): <-- INPUT low grub2/update_nvram<br>debconf (developer): --> 30 question skipped<br>debconf (developer): <-- GO <br>debconf (developer): --> 0 ok<br>dpkg: error processing package grub-efi-amd64 (--configure):<br> installed grub-efi-amd64 package post-installation script subprocess returned error exit status 128<br>D020000: post_script_tasks - ensure_diversions<br>D000001: ensure_diversions: same, skipping<br>D020000: post_script_tasks - trig_incorporate<br>D000001: process queue pkg grub-efi:amd64 queue.len 0 progress 1, try 1<br>D000040: checking dependencies of grub-efi:amd64 (- <none>)<br>D000400: checking group ...<br>D000400: checking possibility -> grub-common<br>D000400: checking non-provided pkg grub-common:amd64<br>D000400: is installed, ok and found<br>D000400: found 3<br>D000400: found 3 matched 0 possfixbytrig -<br>D000400: checking group ...<br>D000400: checking possibility -> grub-efi-amd64<br>D000400: checking non-provided pkg grub-efi-amd64:amd64<br>D000400: not configured/able<br>D000400: returning 0<br>D000400: found 0<br>D000400: found 0 matched 0 possfixbytrig -<br>D000040: ok 0 msgs >> grub-efi depends on grub-efi-amd64 (= 2.06-13+deb12u1); however:<br> Package grub-efi-amd64 is not configured yet.<br><<<br>D000040: checking Breaks<br>dpkg: dependency problems prevent configuration of grub-efi:<br> grub-efi depends on grub-efi-amd64 (= 2.06-13+deb12u1); however:<br> Package grub-efi-amd64 is not configured yet.<br><br>dpkg: error processing package grub-efi (--configure):<br> dependency problems - leaving unconfigured<br>D010000: trigproc_run_deferred<br>Errors were encountered while processing:<br> grub-efi-amd64<br> grub-efi<br>
</pre></div>