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

Bug #1702335 reported by Pamir Talazan
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
grub2-signed (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

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)

Revision history for this message
Pamir Talazan (pamir-talazan) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in grub2-signed (Ubuntu):
status: New → Confirmed
tags: removed: need-duplicate-check
Revision history for this message
Olympia (olymbia-7) wrote :

whenever i installed something it work but gave me an error message about grub.Today i installed an app from software center and it crashed.

Revision history for this message
UlfZibis (ulf-zibis) wrote :

See also bug 1767522

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.