Comment 3 for bug 1928352

Revision history for this message
Steve Langasek (vorlon) wrote : Re: package shim-signed 1.47+15.4-0ubuntu2 failed to install/upgrade: installed shim-signed package post-installation script subprocess returned error exit status 1

The log shows:

Installing for x86_64-efi platform.
grub-install: warning: Cannot read EFI Boot* variables.
grub-install: warning: read_file: could not read from file: Input/output error.
grub-install: warning: vars_get_variable: read_file(/sys/firmware/efi/vars/Boot0001-8be4df61-93ca-11d2-aa0d-00e098032b8c/raw_var) failed: Input/output error.
grub-install: warning: efi_get_variable: ops->get_variable failed: Input/output error.
grub-install: error: failed to register the EFI boot entry: Input/output error.

This is not about running in insecure mode, it's about the fact that you are on an EFI system but the /sys/firmware/efi mount point that the kernel uses to expose EFI nvram variables to the system is unusable.

We have had a number of reports of such problems but have yet to isolate a cause.

Opening a bug task on the kernel, since this may be a kernel filesystem bug.