[Bug 1653982] Re: grub-install post installation script fails
Matt Bruzek
matthew.bruzek at canonical.com
Tue Jan 17 14:48:23 UTC 2017
I did not have a special /boot directory in my partition table so boot
was part of the root (/) mount point. The root partition is on sdb1 if
that helps at all. When investigating this I did have the /boot/grub
directory, but was unabled to find the i386 directory in that tree.
To work around this error was able to set the bios to "leagacy mode"
(non-efi) and purge both the grub-efi-amd64-signed and shim-signed
packages. Reinstalling grub-efi-amd64 package only. This has allowed me
to get a clean apt-get run.
--
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:
Incomplete
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