package linux-image-2.6.32-22-generic 2.6.32-22.36 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127

Bug #594517 reported by Sagi malka
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Binary package hint: grub2

Hi guys!

System - Ubuntu 10.04 LTS, 64Bit, Fresh Installation on seperate partition.
               Installed on an HP DV5 laptop, 3GB RAM, 120GB Partition.
Problem - Tried to install the suggested Kernel Update (both of the last ones) from the Update Manager with no luck for a few days now :(
What happened - I keep getting Error 127 as reported in the Crash Bug. Don't know how to let the system 'release' this update and move on.

Would be nice if:
* A new Kernel/Update will sort this out :)
* A guide/thread will show on Ubuntu Forums addressing this problem and telling us normal humans how to tell the system to ignore this update.

Point of light:
* Very nice the system didn't go bananas after the update failure and just kept on going.

Guys, Ubuntu is awesome, you are doing a great job. Long time windows user, finally took the plunge and never looked back ever since.
Been converting other people as well so I'm spreading the love!

Keep it going guys!

Sagi

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-22-generic 2.6.32-22.36
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
Date: Tue Jun 15 10:26:17 2010
ErrorMessage: subprocess installed post-installation script returned error exit status 127
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.36 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127

Revision history for this message
Sagi malka (psygi-delic) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

The error is
/etc/default/grub: 19: want: not found

That means that there is a syntax error in /etc/default/grub which needs to be a valid shell script. Could you please attach it to this report ?
Thanks.

Changed in grub2 (Ubuntu):
status: New → Incomplete
Revision history for this message
Sagi malka (psygi-delic) wrote :

Hi,

Thanks for you reply.

I hope its this file as I'm fairy new to this :)

Looking forward to your reply,

Sagi

Revision history for this message
Colin Watson (cjwatson) wrote :

This line is broken, probably by incorrect manual editing of that file:

  GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

You'll need to fix that yourself, probably to:

  GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

The fact that the upgrade crashed rather than warning you and giving you the opportunity to fix it is bug 484499.

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.