[Bug 1362723] Re: package grub-pc 2.02~beta2-9ubuntu1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1

John Pallister john at synchromesh.com
Thu Aug 28 18:57:24 UTC 2014


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

It doesn't look like a duplicate of #1351414 to me - the error there was
"/usr/sbin/grub-probe: error: failed to get canonical path of `/dev/disk
/by-uuid/9305c825-bbef-4222-a3c8-9c87483e0592'" while my error is
"/etc/grub.d/06_OVHkernel: line 6: /usr/lib/grub/update-grub_lib: No
such file or directory".

-- 
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/1362723

Title:
  package grub-pc 2.02~beta2-9ubuntu1 failed to install/upgrade:
  ErrorMessage: subprocess installed post-installation script returned
  error exit status 1

Status in “grub2” package in Ubuntu:
  New

Bug description:
  I was performing an upgrade from 12.04.5 LTS to 14.04.1 LTS on a
  headless box in the cloud. The upgrade went smoothly until I started
  getting errors upgrading grub-pc.

  # lsb_release -rd
  Description:	Ubuntu 14.04.1 LTS
  Release:	14.04

  # apt-cache policy grub-pc
  grub-pc:
    Installed: 2.02~beta2-9ubuntu1
    Candidate: 2.02~beta2-9ubuntu1
    Version table:
   *** 2.02~beta2-9ubuntu1 0
          500 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
          100 /var/lib/dpkg/status
       2.02~beta2-9 0
          500 http://ubuntu.mirrors.ovh.net/ftp.ubuntu.com/ubuntu/ trusty/main amd64 Packages

  Below is the output from the upgrade script:

  Could not install the upgrades

  The upgrade has aborted. Your system could be in an unusable state. A 
  recovery will run now (dpkg --configure -a). 

  Setting up grub-pc (2.02~beta2-9ubuntu1) ...
  Replacing config file /etc/default/grub with new version
  Generating grub configuration file ...
  Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
  /etc/grub.d/06_OVHkernel: line 6: /usr/lib/grub/update-grub_lib: No such file or directory
  dpkg: error processing package grub-pc (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   grub-pc

  Upgrade complete

  The upgrade has completed but there were errors during the upgrade 
  process. 

  To continue please press [ENTER]

  ProblemType: Package
  DistroRelease: Ubuntu 14.04
  Package: grub-pc 2.02~beta2-9ubuntu1
  Uname: Linux 3.10.23-xxxx-std-ipv6-64 x86_64
  ApportVersion: 2.14.1-0ubuntu3.3
  Architecture: amd64
  Date: Thu Aug 28 18:42:38 2014
  DuplicateSignature: package:grub-pc:2.02~beta2-9ubuntu1:ErrorMessage: subprocess installed post-installation script returned error exit status 1
  ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 1
  EtcDefaultGrubD.dmraid2mdadm.cfg: GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT nomdmonddf nomdmonisw"
  InstallationDate: Installed on 2014-01-15 (225 days ago)
  InstallationMedia:
   
  ProcCmdLine: BOOT_IMAGE=/boot/bzImage-3.10.23-xxxx-std-ipv6-64 root=/dev/sda1 ro nomodeset
  SourcePackage: grub2
  Title: package grub-pc 2.02~beta2-9ubuntu1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1
  UpgradeStatus: Upgraded to trusty on 2014-08-28 (0 days ago)

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



More information about the foundations-bugs mailing list