[Bug 1127682] Re: package linux-image-3.2.0-38-generic-pae 3.2.0-38.60 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

Steve Langasek steve.langasek at canonical.com
Sun Feb 17 08:23:24 UTC 2013


The error in the logs is:

Searching for GRUB installation directory ... found: /boot/grub
/etc/default/grub: line 1: is: command not found
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.2.0-38-generic-pae.postinst line 1010.

This is not a bug in the grub package; rather, it indicates an incorrect
local change to /etc/default/grub which has broken this file.  You will
need to undo your local changes to this file, or correct them, in order
to be able to upgrade.

** Changed in: grub (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub in Ubuntu.
https://bugs.launchpad.net/bugs/1127682

Title:
  package linux-image-3.2.0-38-generic-pae 3.2.0-38.60 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 2

Status in “grub” package in Ubuntu:
  Invalid

Bug description:
  Errors were encountered while processing:
   linux-image-3.2.0-38-generic-pae
   linux-image-generic-pae
   linux-generic-pae
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 12.04
  Package: linux-image-3.2.0-38-generic-pae 3.2.0-38.60
  ProcVersionSignature: Ubuntu 3.2.0-37.58-generic-pae 3.2.35
  Uname: Linux 3.2.0-37-generic-pae i686
  ApportVersion: 2.0.1-0ubuntu17.1
  Architecture: i386
  Date: Sat Feb 16 18:41:20 2013
  ErrorMessage: subprocess installed post-installation script returned error exit status 2
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
  MarkForUpload: True
  SourcePackage: grub
  Title: package linux-image-3.2.0-38-generic-pae 3.2.0-38.60 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub/+bug/1127682/+subscriptions




More information about the foundations-bugs mailing list