[Bug 1653982] [NEW] grub-install post installation script fails

Matt Bruzek matthew.bruzek at canonical.com
Wed Jan 4 14:24:04 UTC 2017


Public bug reported:

The grub-install apt upgrade does not complete successfully on my
system.

Distributor ID:	Ubuntu
Description:	Ubuntu 16.10
Release:	16.10
Codename:	yakkety

Kernel: 4.8.0-32-generic
arch: X86_64

Here is the error from the apt-get upgrade

Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
dpkg: error processing package shim-signed (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up grub-efi-amd64-signed (1.74+2.02~beta2-36ubuntu11) ...
grub-install: error: /usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory.
dpkg: error processing package grub-efi-amd64-signed (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 shim-signed
 grub-efi-amd64-signed

I checked into this problem and since my system is not an i386
architecture there is no i386 directory in /usr/lib/grub directory. Is
it possible that the post install script does not use the architecture
properly? I would not expect the post install to call anything from the
i386 directory on an X86_64 system.

$ apt-cache policy grub-install
N: Unable to locate package grub-install
$ apt-cache policy grub
grub:
  Installed: (none)
  Candidate: 0.97-29ubuntu69
  Version table:
     0.97-29ubuntu69 500
        500 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 Packages

Please advise if you need any more log files or information.

** Affects: grub-installer (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1653982

Title:
  grub-install post installation script fails

Status in grub-installer package in Ubuntu:
  New

Bug description:
  The grub-install apt upgrade does not complete successfully on my
  system.

  Distributor ID:	Ubuntu
  Description:	Ubuntu 16.10
  Release:	16.10
  Codename:	yakkety

  Kernel: 4.8.0-32-generic
  arch: X86_64

  Here is the error from the apt-get upgrade

  Installing for x86_64-efi platform.
  grub-install: error: cannot find EFI directory.
  dpkg: error processing package shim-signed (--configure):
   subprocess installed post-installation script returned error exit status 1
  Setting up grub-efi-amd64-signed (1.74+2.02~beta2-36ubuntu11) ...
  grub-install: error: /usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please specify --target or --directory.
  dpkg: error processing package grub-efi-amd64-signed (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   shim-signed
   grub-efi-amd64-signed

  I checked into this problem and since my system is not an i386
  architecture there is no i386 directory in /usr/lib/grub directory. Is
  it possible that the post install script does not use the architecture
  properly? I would not expect the post install to call anything from
  the i386 directory on an X86_64 system.

  $ apt-cache policy grub-install
  N: Unable to locate package grub-install
  $ apt-cache policy grub
  grub:
    Installed: (none)
    Candidate: 0.97-29ubuntu69
    Version table:
       0.97-29ubuntu69 500
          500 http://us.archive.ubuntu.com/ubuntu yakkety/main amd64 Packages

  Please advise if you need any more log files or information.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1653982/+subscriptions



More information about the foundations-bugs mailing list