package grub-pc 1.99-21ubuntu3.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127

Bug #1009771 reported by Alexis De la Vega
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

ubuntu 12.04 using wubi
after software update

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: grub-pc 1.99-21ubuntu3.1
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Wed Jun 6 17:53:19 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 127
InvalidGrubScript: /etc/default/grub
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-23-generic root=UUID=B686006286002609 loop=/hostname/disks/root.disk ro quiet splash vt.handoff=7
SourcePackage: grub2
Title: package grub-pc 1.99-21ubuntu3.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Alexis De la Vega (craksz) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Steve Langasek (vorlon) wrote :

The error in the logs is:

> /usr/sbin/grub-mkconfig: 12: /etc/default/grub: quiet: not found
> run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127

This indicates an incorrect manual edit of /etc/default/grub that has broken the syntax of the file - not a bug in the grub package. You will need to fix this file so that it declares variables using correct shell syntax (no spaces around equal signs; quotes around any values that contain spaces).

Changed in grub2 (Ubuntu):
status: New → 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.