We are seeing this error on unattended-upgrades on all Azure ubuntu 20.04 VMs.
Preconfiguring packages ...
(Reading database ... 58945 files and directories currently installed.)
Preparing to unpack .../shim_15.4-0ubuntu9_amd64.deb ...
Unpacking shim (15.4-0ubuntu9) over (15+1533136590.3beb971-0ubuntu1) ...
Preparing to unpack .../shim-signed_1.40.7+15.4-0ubuntu9_amd64.deb ...
Unpacking shim-signed (1.40.7+15.4-0ubuntu9) over (1.40.3+15+1533136590.3beb971-0ubuntu1) ...
Setting up shim (15.4-0ubuntu9) ...
Setting up shim-signed (1.40.7+15.4-0ubuntu9) ...
mount: /var/lib/grub/esp: special device /dev/disk/by-id/scsi-14d534654202020206b732779d9c8429f997bc9f57f0b9212-part15 does not exist.
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
We are seeing this error on unattended-upgrades on all Azure ubuntu 20.04 VMs.
Preconfiguring packages ... 15.4-0ubuntu9_ amd64.deb ... 3beb971- 0ubuntu1) ... signed_ 1.40.7+ 15.4-0ubuntu9_ amd64.deb ... 15.4-0ubuntu9) over (1.40.3+ 15+1533136590. 3beb971- 0ubuntu1) ... 15.4-0ubuntu9) ... by-id/scsi- 14d534654202020 206b732779d9c84 29f997bc9f57f0b 9212-part15 does not exist.
(Reading database ... 58945 files and directories currently installed.)
Preparing to unpack .../shim_
Unpacking shim (15.4-0ubuntu9) over (15+1533136590.
Preparing to unpack .../shim-
Unpacking shim-signed (1.40.7+
Setting up shim (15.4-0ubuntu9) ...
Setting up shim-signed (1.40.7+
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