shim-signed fails to upgrade when NVMe drive is moved into the VM as Virtio drive
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
shim-signed (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I had to remove a NVMe storage (nvme0n1) from my laptop and temporarily brought it back as a VirtIO (vda) device under a VM. When I received shim-signed upgrade to version 1.51+15.4-0ubuntu9 , I got this :
Setting up shim-signed (1.51+15.
mount: /var/lib/grub/esp: special device /dev/disk/
dpkg: error processing package shim-signed (--configure):
installed shim-signed package post-installation script subprocess returned error exit status 32
Errors were encountered while processing:
shim-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)
Looking into /var/lib/
Looking into /var/cache/
I am not sure whether it is safe to remove or modify these values by text editor, but running grub-install or dpkg-reconfigure grub-efi-amd64 as root does not change them .
Please help me to resolve this situation.
description: | updated |
description: | updated |
I don't believe this is a duplicate. shim-signed was looking for the NVMe storage that was removed and inaccessible. Bug #1940723 has a similar mechanism of failure, but is related to cloud instances, rather than a missing device.