After a fresh Ubuntu install I'm running into this error:
Sub-process /usr/bin/dpkg returned an error code (1)
Full log:
dpkg: error processing package shim-signed (--configure):
installed shim-signed package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
shim-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)
As I can see, this package is to blame:
shim-signed
.
But it is also a system package so I can't purge it, there is no cached installation file and sudo apt-get install --fix-broken
results in the same log as previously.
Can someone please explain what this /usr/lib/grub/grub-multi-install
is and how to fix it?
P.S. Running an ~2017 HP office laptop that still has BIOS for some odd reason. Might be related to grub somehow.
/usr/lib/grub/grub-multi-install
is part of the packagegrub-common
, this package should be installed on your system. I'd try to reinstall the package (sudo apt reinstall grub-common
) to see if this helps. Which version of Ubuntu did you install?1 not fully installed or removed.