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.

** Also affects: linux (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1928352

Title:
  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

Status in linux package in Ubuntu:
  Confirmed
Status in shim-signed package in Ubuntu:
  Confirmed

Bug description:
  The installer crashed at the very end with a warning that my computer
  might fail to boot.

  It booted alright but after logging in I get a pop-up to signal that
  shim-signed has failed to install.

  Something to do with my system (EFI) running in insecure mode?

  ProblemType: Package
  DistroRelease: Ubuntu 21.04
  Package: shim-signed 1.47+15.4-0ubuntu2
  ProcVersionSignature: Ubuntu 5.11.0-17.18-generic 5.11.12
  Uname: Linux 5.11.0-17-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  .proc.sys.kernel.moksbstate_disabled: Error: [Errno 2] No such file or 
directory: '/proc/sys/kernel/moksbstate_disabled'
  ApportVersion: 2.20.11-0ubuntu65
  Architecture: amd64
  BootEFIContents:
   BOOTX64.CSV
   grub.cfg
   grubx64.efi
   mmx64.efi
   shimx64.efi
  CasperMD5CheckResult: pass
  Date: Thu May 13 16:54:46 2021
  EFITables:
   mei 13 17:05:50 Selena kernel: efi: EFI v2.10 by American Megatrends
   mei 13 17:05:50 Selena kernel: efi: ACPI=0xba80b000 ACPI 2.0=0xba80b000 
SMBIOS=0xf04c0 MOKvar=0xae8a2000 
   mei 13 17:05:50 Selena kernel: secureboot: Secure boot disabled
   mei 13 17:05:50 Selena kernel: secureboot: Secure boot disabled
  ErrorMessage: installed shim-signed package post-installation script 
subprocess returned error exit status 1
  InstallationDate: Installed on 2021-05-13 (0 days ago)
  InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
  Python3Details: /usr/bin/python3.9, Python 3.9.4, python3-minimal, 3.9.4-1
  PythonDetails: N/A
  RelatedPackageVersions:
   dpkg 1.20.9ubuntu1
   apt  2.2.3
  SecureBoot: 6   0   0   0   0
  SourcePackage: shim-signed
  Title: 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
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1928352/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to