package linux-image-2.6.32-24-generic 2.6.32-24.41 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: grub2
update-initramfs: Generating /boot/initrd.
Running postinst hook script /usr/sbin/
/etc/default/grub: 12: Syntax error: "(" unexpected
User postinst hook script [/usr/sbin/
dpkg: erro processando linux-image-
sub-processo script post-installation instalado retornou estado de saída de erro 2
dpkg: problemas de dependência impedem a configuração de linux-image-
linux-
Pacote linux-image-
dpkg: erro processando linux-image-generic (--configure):
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: linux-image-
ProcVersionSign
Uname: Linux 2.6.32-23-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Sat Aug 28 15:33:14 2010
ErrorMessage: sub-processo script post-installation instalado retornou estado de saída de erro 2
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
SourcePackage: grub2
Title: package linux-image-
The terminal log says:
/etc/ default/ grub: 12: Syntax error: "(" 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.