<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Here is the end of the log from grub-install</p>
    <p>grub-install: info: Registering with EFI: distributor = `debian',
      path = `\EFI\debian\shimx64.efi', ESP at
      mduuid/a6fcec628151c509d2bd0ab56b8e5c15.<br>
      grub-install: info: executing modprobe efivars 2>/dev/null.<br>
      grub-install: warning: efivarfs_get_variable:
open(/sys/firmware/efi/efivars/blk0-47c7b225-c42a-11d2-8e57-00a0c969723b):
      No such file or directory.<br>
      grub-install: warning: efi_get_variable: ops->get_variable
      failed: No such file or directory.<br>
      grub-install: warning: efi_va_generate_file_device_path_from_esp:
      could not open device for ESP: Bad address.<br>
      grub-install: warning: efi_generate_file_device_path_from_esp:
      could not generate File DP from ESP: Bad address.<br>
      grub-install: error: failed to register the EFI boot entry: Bad
      address.<br>
    </p>
    <p><br>
    </p>
    <p>And here the log from apt</p>
    <p>root@thistle:~# apt full-upgrade<br>
      Reading package lists... Done<br>
      Building dependency tree       <br>
      Reading state information... Done<br>
      Calculating upgrade... Done<br>
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.<br>
      2 not fully installed or removed.<br>
      After this operation, 0 B of additional disk space will be used.<br>
      Do you want to continue? [Y/n] y<br>
      Setting up shim-signed-common (1.33+15+1533136590.3beb971-7) ...<br>
      Installing for x86_64-efi platform.<br>
      grub-install: warning: efivarfs_get_variable:
open(/sys/firmware/efi/efivars/blk0-47c7b225-c42a-11d2-8e57-00a0c969723b):
      No such file or directory.<br>
      grub-install: warning: efi_get_variable: ops->get_variable
      failed: No such file or directory.<br>
      grub-install: warning: efi_va_generate_file_device_path_from_esp:
      could not open device for ESP: Bad address.<br>
      grub-install: warning: efi_generate_file_device_path_from_esp:
      could not generate File DP from ESP: Bad address.<br>
      grub-install: error: failed to register the EFI boot entry: Bad
      address.<br>
      dpkg: error processing package shim-signed-common (--configure):<br>
       installed shim-signed-common package post-installation script
      subprocess returned error exit status 1<br>
      dpkg: dependency problems prevent configuration of
      shim-signed:amd64:<br>
       shim-signed:amd64 depends on shim-signed-common (=
      1.33+15+1533136590.3beb971-7); however:<br>
        Package shim-signed-common is not configured yet.<br>
      <br>
      dpkg: error processing package shim-signed:amd64 (--configure):<br>
       dependency problems - leaving unconfigured<br>
      Errors were encountered while processing:<br>
       shim-signed-common<br>
       shim-signed:amd64<br>
      needrestart is being skipped since dpkg has failed<br>
      E: Sub-process /usr/bin/dpkg returned an error code (1)<br>
      <br>
    </p>
  </body>
</html>