package grub-pc 1.98-1ubuntu10 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: grub2
Grub 2 wont update after install of Burg and Plymouth manager
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: grub-pc 1.98-1ubuntu10
ProcVersionSign
Uname: Linux 2.6.32-26-generic i686
NonfreeKernelMo
AptOrdering:
plymouth-manager: Purge
ubuntu-sunrise: Purge
grub-pc: Configure
Architecture: i386
Date: Sat Apr 16 11:11:53 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.2)
SourcePackage: grub2
Title: package grub-pc 1.98-1ubuntu10 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
The terminal log says:
/etc/ default/ grub: 18: Syntax error: newline unexpected
It seems that you've edited /etc/default/grub in a way that made its syntax invalid. You need to edit it again and fix it. You can test whether you've got it right using 'sh -n /etc/default/grub', which should produce no output if the file has valid syntax.
Bug 484499 is about the fact that the upgrade crashed rather than warning you about this and giving you the opportunity to fix it.