[Bug 767380] Re: package grub-pc 1.99~rc1-13ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

Colin Watson cjwatson at canonical.com
Wed Jun 29 11:18:44 UTC 2011


*** This bug is a duplicate of bug 484499 ***
    https://bugs.launchpad.net/bugs/484499

The terminal log says:

  /etc/default/grub: 36: 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.

** This bug has been marked a duplicate of bug 484499
   [MASTER] syntax errors in /etc/default/grub break upgrades

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

Title:
  package grub-pc 1.99~rc1-13ubuntu1 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 2

Status in “grub2” package in Ubuntu:
  New

Bug description:
  Binary package hint: grub2

  Currently I am using Ubuntu 11.04 beta and I installed opensuse 11.4 which resulted in boot up not recognising Ubuntu. Based on help from ubuntu forum, I did correct the grub and everything was alright. I tested the same, updated number of times and absolutely no issue.
  However, subsequently, I tried with 3d cube in compiz, which resulted in loosing all unity menus and some how with the help of ubuntu forum, I could get back. Since then I keep getting grub error when ever I try to upgrade. Subsequently I tried Ubuntu tweak and it gives me grub error, but system is working ok. No issue. Yes, I have also added "nomodeset acpi_osi=\Linux\" in grub file so that opensuse can boot up.

  ProblemType: Package
  DistroRelease: Ubuntu 11.04
  Package: grub-pc 1.99~rc1-13ubuntu1
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Wed Apr 20 21:03:34 2011
  ErrorMessage: subprocess installed post-installation script returned error exit status 2
  InvalidGrubScript: /etc/default/grub
  ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=999c998f-30ef-414d-911f-625b651f75e3 ro quiet splash nomodeset acpi_osi=Linux vt.handoff=7
  SourcePackage: grub2
  Title: package grub-pc 1.99~rc1-13ubuntu1 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/grub2/+bug/767380/+subscriptions




More information about the foundations-bugs mailing list