package linux-image-2.6.32-27-generic 2.6.32-27.49 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
Automatic update failed because of this.
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: linux-image-
ProcVersionSign
Uname: Linux 2.6.32-25-generic i686
NonfreeKernelMo
Architecture: i386
Date: Mon Jan 17 02:33:11 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
SourcePackage: grub2
Title: package linux-image-
The terminal log says:
/etc/ default/ grub: 30: Syntax error: end of file unexpected (expecting "then")
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.