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

Bug #626120 reported by enoque joseneas jesus dos santos
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: grub2

update-initramfs: Generating /boot/initrd.img-2.6.32-24-generic
Running postinst hook script /usr/sbin/update-grub.
/etc/default/grub: 12: Syntax error: "(" unexpected
User postinst hook script [/usr/sbin/update-grub] exited with value 2
dpkg: erro processando linux-image-2.6.32-24-generic (--configure):
 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-generic:
 linux-image-generic depende de linux-image-2.6.32-24-generic; porém:
  Pacote linux-image-2.6.32-24-generic não está configurado ainda.
dpkg: erro processando linux-image-generic (--configure):

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-24-generic 2.6.32-24.41
ProcVersionSignature: Ubuntu 2.6.32-23.37-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-23-generic x86_64
NonfreeKernelModules: wl
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-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

Revision history for this message
enoque joseneas jesus dos santos (joseneas-rock) wrote :
Revision history for this message
Colin Watson (cjwatson) wrote :

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.

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.