Public bug reported:

in order to fix this problem i did:

apt-get purge grub\*
apt-get install grub-efi
apt-get autoremove
update-grub

and before that in order to boot the system i had to manually install grub from 
a live-usb:
mount /dev/sda2 /mnt
grub-install /dev/sda --root-directory=/mnt

the installed seems to mess up if your computer does efi boot but not
secure boot.

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: grub-efi-amd64-signed (not installed)
ProcVersionSignature: Ubuntu 4.8.0-58.63~16.04.1-generic 4.8.17
Uname: Linux 4.8.0-58-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.6
Architecture: amd64
Date: Tue Jul  4 19:11:29 2017
DuplicateSignature:
 package:grub-efi-amd64-signed:(not installed)
 Setting up grub-efi-amd64-signed (1.66.11+2.02~beta2-36ubuntu3.11) ...
 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
ErrorMessage: subprocess installed post-installation script returned error exit 
status 1
InstallationDate: Installed on 2017-07-04 (0 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 
(20170215.2)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.2
 apt  1.2.20
SourcePackage: grub2-signed
Title: package grub-efi-amd64-signed (not installed) failed to install/upgrade: 
subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: grub2-signed (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package need-duplicate-check xenial

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

Title:
  package grub-efi-amd64-signed (not installed) failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2-signed/+bug/1702335/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to