Bug#988059: Cannot remove after failed upgrade
On Tue, May 04, 2021 at 06:06:13PM +0200, Michael Rasmussen wrote:
>After the latest upgrade which failed you are not able to uninstall the
>In my opinion this should race the severity to grave.
>sudo dpkg -r --force-all shim-signed:amd64
>(Reading database ... 613031 files and directories currently installed.)
>Removing shim-signed:amd64 (1.34+15.4-2) ...
>cat: /sys/firmware/efi/fw_platform_size: No such file or directory
>dpkg: error processing package shim-signed:amd64 (--remove):
> installed shim-signed:amd64 package post-removal script subprocess
>returned error exit status 1 Errors were encountered while processing:
Apologies - I missed this case here. There's a new upload making its
way throught the system right now.
I'll ask you the same question I asked Jörgen earlier - did you
deliberately install shim-signed on a non-EFI system, or was it pulled
in automatically somehow? I'm struggling to see a way to get here
Steve McIntyre, Cambridge, UK. email@example.com
"I can't ever sleep on planes ... call it irrational if you like, but I'm
afraid I'll miss my stop" -- Vivek Das Mohapatra