package shim-signed 1.3+0.4-0ubuntu3 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
shim-signed (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Won't Fix
|
Undecided
|
Unassigned | ||
Quantal |
Fix Released
|
Undecided
|
Unassigned | ||
Raring |
Fix Released
|
Undecided
|
Unassigned | ||
Saucy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[SRU justification]
If users install the grub-pc package on a machine booted under Secure Boot, the system will still be bootable but there will be avoidable package upgrade errors when installing a new version of the shim-signed package. We should ensure that UEFI users don't accidentally get their package system into a wedged state, by ensuring shim-signed pulls in the necessary efi grub package as a dependency and calls grub-install in a way that works reliably even when grub-pc has been installed.
[Test case]
1. Install on a machine that boots using UEFI.
3. Install the grub-pc package.
4. Upgrade to the shim-signed package from -updates.
5. Verify that the upgrade fails.
6. Install the shim-signed package from -proposed.
7. Verify that the upgrade succeeds.
[Regression potential]
Minimal. The --target=x86_64-efi option to grub-install is supported in all relevant versions, and adding it explicitly should not cause any failures in scenarios where the shim-signed package is currently working.
Upgrade from 13.04 to 13.10 broke off.
Warning about possibly unusable system appeared.
ProblemType: Package
DistroRelease: Ubuntu 13.10
Package: shim-signed 1.3+0.4-0ubuntu3
ProcVersionSign
Uname: Linux 3.8.0-32-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
Date: Thu Oct 31 22:50:18 2013
DuplicateSignature: package:
ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2013-04-05 (209 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MarkForUpload: True
SourcePackage: shim-signed
Title: package shim-signed 1.3+0.4-0ubuntu3 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to saucy on 2013-10-31 (0 days ago)
This bug was fixed in the package shim-signed - 1.5
---------------
shim-signed (1.5) trusty; urgency=low
* Pass --target=x86_64-efi to grub-install from the postinst and depend on efi-amd64- bin, so that package upgrades will do the right thing
grub-
even if the system has been rebooted under BIOS. LP: #1246910.
* Kubuntu sets GRUB_DISTRIBUTOR to a different value which doesn't match
the path under /boot/efi; fix this up so shim-signed upgrades properly
on Kubuntu systems. LP: #1242417.
-- Steve Langasek <email address hidden> Thu, 31 Oct 2013 17:06:21 -0700