package friendly-recovery 0.2.31 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

Bug #1700276 reported by Mohit Soni
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
friendly-recovery (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I just upgraded my ubuntu from 14.04 to 16.04. During installation I received this message

package friendly-recovery 0.2.31 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

Then it automatically asked me to report the bug.

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: friendly-recovery 0.2.31
ProcVersionSignature: Ubuntu 3.13.0-71.114-generic 3.13.11-ckt29
Uname: Linux 3.13.0-71-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.6
Architecture: amd64
Date: Sat Jun 24 14:01:39 2017
DuplicateSignature:
 package:friendly-recovery:0.2.31
 Setting up friendly-recovery (0.2.31) ...
 /usr/sbin/grub-mkconfig: 41: /etc/default/grub: Syntax error: Bad function name
 dpkg: error processing package friendly-recovery (--configure):
  subprocess installed post-installation script returned error exit status 2
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationDate: Installed on 2015-11-13 (588 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
PackageArchitecture: all
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.2
 apt 1.2.20
SourcePackage: friendly-recovery
Title: package friendly-recovery 0.2.31 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: Upgraded to xenial on 2017-06-24 (0 days ago)

Revision history for this message
Mohit Soni (mohitsoni7) 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 friendly-recovery (Ubuntu):
status: New → Confirmed
Revision history for this message
Juhani Numminen (jsonic) wrote :

The error seems to be: "/usr/sbin/grub-mkconfig: 41: /etc/default/grub: Syntax error: Bad function name".

Please remove "save()" and "exit()" from your /etc/default/grub file.

Changed in friendly-recovery (Ubuntu):
status: Confirmed → Invalid
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.