package shim-signed 1.6+0.4-0ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1474203 reported by Yogesh Kumar
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
shim-signed (Ubuntu)
Fix Released
Low
Unassigned
Trusty
Fix Released
Low
Unassigned
Utopic
Won't Fix
Low
Unassigned
Vivid
Won't Fix
Low
Unassigned
Wily
Fix Released
Low
Unassigned

Bug Description

While upgrading to 14.04

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: shim-signed 1.6+0.4-0ubuntu4
ProcVersionSignature: Ubuntu 3.13.0-48.80~precise1-generic 3.13.11-ckt16
Uname: Linux 3.13.0-48-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu17.8
Architecture: amd64
Date: Tue Jul 14 09:07:09 2015
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130213)
SourcePackage: shim-signed
Title: package shim-signed 1.6+0.4-0ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to trusty on 2015-07-13 (0 days ago)

Revision history for this message
Yogesh Kumar (kumarryogeshh) wrote :
Revision history for this message
Steve Langasek (vorlon) wrote :

This is a bug in the shim-signed package. Versions of shim-signed in 14.04 and later rely on the --target feature of grub-install, which is only available in grub 2.00 and above. So shim-signed should have a versioned dependency on grub2-common.

Your attached logs also show that you have tried to run 'apt-get upgrade' to upgrade between precise and trusty. Please note that this is absolutely unsupported. 'apt-get upgrade' will not install new packages, which is a requirement when upgrading between major releases. You must at minimum run 'apt-get dist-upgrade'. It is recommended that you run 'do-release-upgrade' for commandline upgrades between releases, or use 'update-manager' for desktop upgrades.

Changed in shim-signed (Ubuntu):
importance: Undecided → High
status: New → Triaged
Changed in shim-signed (Ubuntu Vivid):
status: New → Triaged
importance: Undecided → High
Changed in shim-signed (Ubuntu Utopic):
status: New → Triaged
importance: Undecided → High
Changed in shim-signed (Ubuntu Trusty):
status: New → Triaged
importance: Undecided → High
Changed in shim-signed (Ubuntu Utopic):
importance: High → Low
Changed in shim-signed (Ubuntu Vivid):
importance: High → Low
Changed in shim-signed (Ubuntu Wily):
importance: High → Low
Revision history for this message
Yogesh Kumar (kumarryogeshh) wrote : Re: [Bug 1474203] Re: package shim-signed 1.6+0.4-0ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

I am stucked now. System boots.. login prompt appears.. when i login.. it
says failed to load session Ubuntu.
I tried Ctrl+Alt+F1.. it shows Ubuntu 14.04.02 LTS.

It tried changing lightdm.conf user-session to mate .. then to unity-2d ...
but nothing works..

Please share a solution. I am at no-man's land.

On Tue, Jul 14, 2015, 23:45 Launchpad Bug Tracker <
<email address hidden>> wrote:

> ** Branch linked: lp:ubuntu/wily-proposed/shim-signed
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1474203
>
> Title:
> package shim-signed 1.6+0.4-0ubuntu4 failed to install/upgrade:
> subprocess installed post-installation script returned error exit
> status 1
>
> Status in shim-signed package in Ubuntu:
> Triaged
> Status in shim-signed source package in Trusty:
> Triaged
> Status in shim-signed source package in Utopic:
> Triaged
> Status in shim-signed source package in Vivid:
> Triaged
> Status in shim-signed source package in Wily:
> Triaged
>
> Bug description:
> While upgrading to 14.04
>
> ProblemType: Package
> DistroRelease: Ubuntu 14.04
> Package: shim-signed 1.6+0.4-0ubuntu4
> ProcVersionSignature: Ubuntu 3.13.0-48.80~precise1-generic 3.13.11-ckt16
> Uname: Linux 3.13.0-48-generic x86_64
> NonfreeKernelModules: nvidia
> ApportVersion: 2.0.1-0ubuntu17.8
> Architecture: amd64
> Date: Tue Jul 14 09:07:09 2015
> ErrorMessage: subprocess installed post-installation script returned
> error exit status 1
> InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64
> (20130213)
> SourcePackage: shim-signed
> Title: package shim-signed 1.6+0.4-0ubuntu4 failed to install/upgrade:
> subprocess installed post-installation script returned error exit status 1
> UpgradeStatus: Upgraded to trusty on 2015-07-13 (0 days ago)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/shim-signed/+bug/1474203/+subscriptions
>

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package shim-signed - 1.10

---------------
shim-signed (1.10) wily; urgency=medium

  * Add a versioned dependency on grub2-common, so that partial upgrades from
    Ubuntu 12.04 don't break due to a lack of --target option to grub-install.
    LP: #1474203.

 -- Steve Langasek <email address hidden> Tue, 14 Jul 2015 10:46:41 -0700

Changed in shim-signed (Ubuntu Wily):
status: Triaged → Fix Released
Mathew Hodson (mhodson)
Changed in shim-signed (Ubuntu Trusty):
milestone: none → ubuntu-14.04.4
Steve Langasek (vorlon)
Changed in shim-signed (Ubuntu Utopic):
status: Triaged → Won't Fix
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Won't Fix for Vivid too; but we might as well ship the fixes for this backporting shim-signed from yakkety when landing Secure Boot support code.

Changed in shim-signed (Ubuntu Vivid):
status: Triaged → Won't Fix
Changed in shim-signed (Ubuntu Trusty):
status: Triaged → In Progress
importance: High → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package shim-signed - 1.17~14.04.1

---------------
shim-signed (1.17~14.04.1) trusty; urgency=medium

  * Backport shim-signed 1.17 to 14.04. (LP: #1574727)

 -- Mathieu Trudel-Lapierre <email address hidden> Thu, 07 Jul 2016 20:17:24 -0400

Changed in shim-signed (Ubuntu Trusty):
status: In Progress → Fix Released
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.