package grub-efi-amd64-signed 1.66.2+2.02~beta2-36ubuntu3.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1617721 reported by tomazzoni
52
This bug affects 10 people
Affects Status Importance Assigned to Milestone
grub2-signed (Ubuntu)
Confirmed
High
Unassigned

Bug Description

package grub-efi-amd64-signed 1.66.2+2.02~beta2-36ubuntu3.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: grub-efi-amd64-signed 1.66.2+2.02~beta2-36ubuntu3.2
ProcVersionSignature: Ubuntu 4.4.0-34.53-generic 4.4.15
Uname: Linux 4.4.0-34-generic x86_64
NonfreeKernelModules: talpa_vfshook talpa_pedconnector talpa_pedevice talpa_vcdevice talpa_core talpa_linux talpa_syscallhook
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Sat Aug 27 18:07:19 2016
DuplicateSignature:
 package:grub-efi-amd64-signed:1.66.2+2.02~beta2-36ubuntu3.2
 Setting up grub-efi-amd64-signed (1.66.2+2.02~beta2-36ubuntu3.2) ...
 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 2016-06-04 (84 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.12~ubuntu16.04.1
SourcePackage: grub2-signed
Title: package grub-efi-amd64-signed 1.66.2+2.02~beta2-36ubuntu3.2 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
tomazzoni (tomazzoni-thiago) wrote :
tags: removed: need-duplicate-check
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
Changed in grub2-signed (Ubuntu):
importance: Undecided → High
Revision history for this message
Shriramana Sharma (jamadagni) wrote :
Download full text (5.3 KiB)

Workaround:
sudo apt-get purge grub\*
sudo apt-get install grub-efi
sudo apt-get autoremove
sudo update-grub

Source:
http://askubuntu.com/a/763984/170127:

Output:
$ sudo apt-get purge grub\*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'grub-legacy' for glob 'grub*'
...
...
...
Package 'grub2-themes-ubuntu-mate' is not installed, so not removed
The following package was automatically installed and is no longer required:
  shim
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
  grub-common* grub-efi-amd64* grub-efi-amd64-bin* grub-efi-amd64-signed* grub2-common* shim-signed*
0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 20.8 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 226018 files and directories currently installed.)
Removing grub-efi-amd64-signed (1.66.2+2.02~beta2-36ubuntu3.2) ...
Removing grub-efi-amd64 (2.02~beta2-36ubuntu3.2) ...
Purging configuration files for grub-efi-amd64 (2.02~beta2-36ubuntu3.2) ...
Removing shim-signed (1.18~16.04.1+0.8-0ubuntu2) ...
Purging configuration files for shim-signed (1.18~16.04.1+0.8-0ubuntu2) ...
Removing grub2-common (2.02~beta2-36ubuntu3.2) ...
Removing grub-efi-amd64-bin (2.02~beta2-36ubuntu3.2) ...
Removing grub-common (2.02~beta2-36ubuntu3.2) ...
TPurging configuration files for grub-common (2.02~beta2-36ubuntu3.2) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for install-info (6.1.0.dfsg.1-5) ...
$ sudo apt-get install grub-efi
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  shim
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  grub-common grub-efi-amd64 grub-efi-amd64-bin grub2-common
Suggested packages:
  multiboot-doc grub-emu xorriso desktop-base
The following NEW packages will be installed:
  grub-common grub-efi grub-efi-amd64 grub-efi-amd64-bin grub2-common
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,546 B/2,939 kB of archives.
After this operation, 16.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 file:/home/samjnaa/ab/orig_amd64_a-g grub-common 2.02~beta2-36ubuntu3.2 [1,707 kB]
Get:2 file:/home/samjnaa/ab/orig_amd64_a-g grub2-common 2.02~beta2-36ubuntu3.2 [511 kB]
Get:3 file:/home/samjnaa/ab/orig_amd64_a-g grub-efi-amd64-bin 2.02~beta2-36ubuntu3.2 [653 kB]
Get:4 file:/home/samjnaa/ab/orig_amd64_a-g grub-efi-amd64 2.02~beta2-36ubuntu3.2 [65.7 kB]
Get:5 http://ubuntu.mirror.lrz.de/ubuntu xenial-updates/main amd64 grub-efi amd64 2.02~beta2-36ubuntu3.2 [2,546 B]
Fetched 2,546 B in 2s (928 B/s)
Preconfiguring packages ...
Selecting previously unselected package grub-common.
(Reading database ... 225632 files and directories currently installed.)
Preparing to unpack .../grub-common_2.02~beta2-36ubuntu3.2_amd64.deb ...
Unpacking grub-common (2.02~beta2-36ubuntu3.2) ...
Selecting previously unselected package grub2-common.
P...

Read more...

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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