[Bug 1246910] Re: package shim-signed 1.3+0.4-0ubuntu3 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1.

Launchpad Bug Tracker 1246910 at bugs.launchpad.net
Tue Nov 12 19:12:54 UTC 2013


This bug was fixed in the package shim-signed - 1.5~13.04.1

---------------
shim-signed (1.5~13.04.1) raring; urgency=low

  * Backport to Ubuntu 13.04.

shim-signed (1.5) trusty; urgency=low

  * Pass --target=x86_64-efi to grub-install from the postinst and depend on
    grub-efi-amd64-bin, so that package upgrades will do the right thing
    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 <steve.langasek at ubuntu.com>   Fri, 08 Nov 2013 10:45:25 -0800

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

Title:
  package shim-signed 1.3+0.4-0ubuntu3 failed to install/upgrade:
  ErrorMessage: subprocess installed post-installation script returned
  error exit status 1.

Status in “shim-signed” package in Ubuntu:
  Fix Released
Status in “shim-signed” source package in Precise:
  Fix Released
Status in “shim-signed” source package in Quantal:
  Fix Released
Status in “shim-signed” source package in Raring:
  Fix Released
Status in “shim-signed” source package in Saucy:
  Fix Released

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
  ProcVersionSignature: Ubuntu 3.8.0-32.47-generic 3.8.13.10
  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:shim-signed:1.3+0.4-0ubuntu3:ErrorMessage: subprocess installed post-installation script returned error exit status 1
  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)

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



More information about the foundations-bugs mailing list