package linux-image-2.6.32-22-generic 2.6.32-22.35 failed to install/upgrade. error exit status 2

Bug #589041 reported by ndstate
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: grub2

When attempting to install package linux-image-2.6.32-22-generic 2.6.32-22.35 it failed to install/upgrade: subprocess installed post-installation script returned error exit status 2.

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-22-generic 2.6.32-22.35
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
Date: Thu Jun 3 01:48:01 2010
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
SourcePackage: grub2
Title: package linux-image-2.6.32-22-generic 2.6.32-22.35 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

Revision history for this message
ndstate (ndstate) wrote :
Revision history for this message
ndstate (ndstate) wrote :
Download full text (4.2 KiB)

This is not a duplicate of the other bug, the grub file is different:

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
  set saved_entry=${prev_saved_entry}
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z ${boot_once} ]; then
    saved_entry=${chosen}
    save_env saved_entry
  fi
}

function recordfail {
  set recordfail=1
  if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set d2b6be2c-c8f0-4956-ac27-c052457bac2d
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
insmod ext2
set root='(hd0,5)'
search --no-floppy --fs-uuid --set d2b6be2c-c8f0-4956-ac27-c052457bac2d
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
if [ ${recordfail} = 1 ]; then
  set timeout=-1
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
 recordfail
 insmod ext2
 set root='(hd0,5)'
 search --no-floppy --fs-uuid --set d2b6be2c-c8f0-4956-ac27-c052457bac2d
 linux /boot/vmlinuz-2.6.32-22-generic root=UUID=d2b6be2c-c8f0-4956-ac27-c052457bac2d ro quiet splash
 initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
 recordfail
 insmod ext2
 set root='(hd0,5)'
 search --no-floppy --fs-uuid --set d2b6be2c-c8f0-4956-ac27-c052457bac2d
 echo 'Loading Linux 2.6.32-22-generic ...'
 linux /boot/vmlinuz-2.6.32-22-generic root=UUID=d2b6be2c-c8f0-4956-ac27-c052457bac2d ro single
 echo 'Loading initial ramdisk ...'
 initrd /boot/initrd.img-2.6.32-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
 recordfail
 insmod ext2
 set root='(hd0,5)'
 search --no-floppy --fs-uuid --set d2b6be2c-c8f0-4956-ac27-c052457bac2d
 linux /boot/vmlinuz-2.6.32-21-generic root=UUID=d2b6be2c-c8f0-4956-ac27-c052457bac2d ro quiet splash
 initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
 recordfail
 insmod ext2
 set root='(hd0,5)'
 search --no-floppy --fs-uuid --set d2b6be2c-c8f0-4956-ac27-c052457bac2d
 echo 'Loading Linux 2.6.32-21-generic ...'
 linux /boot/vmlinuz-2.6.32-21-generic root=UUID=d2b6be2c-c8f0-4956-ac27-c052457bac2d ro single
 ...

Read more...

ndstate (ndstate)
summary: package linux-image-2.6.32-22-generic 2.6.32-22.35 failed to
- install/upgrade: subprocess installed post-installation script returned
- error exit status 2
+ install/upgrade. error exit status 2
Revision history for this message
Colin Watson (cjwatson) wrote :

The terminal log says:

  /etc/default/grub: 28: Syntax error: EOF in backquote substitution

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.