[Bug 1163618] Re: package grub-pc 2.00-13ubuntu2 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 10

Steve Langasek steve.langasek at canonical.com
Tue Apr 2 23:03:30 UTC 2013


The bug title talks about an install/upgrade, but the dpkg log shows you
trying to remove grub:

Generating grub.cfg ...
/usr/sbin/grub-probe: error: failed to get canonical path of /boot/grub/unicode.pf2GRUB_GFXPAYLOAD_LINUX=None.
/usr/sbin/grub-probe: error: cannot find a GRUB drive for .  Check your device.map.
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-extra-3.8.0-16-generic.postrm line 328.
dpkg: error processing linux-image-extra-3.8.0-16-generic (--remove):
 subprocess installed post-removal script returned error exit status 1
Removing grub-gfxpayload-lists ...
Removing grub-pc ...
dpkg: error processing grub-pc (--remove):
 subprocess installed pre-removal script returned error exit status 10

What exactly were you trying to do?

** Package changed: grub (Ubuntu) => grub2 (Ubuntu)

** Changed in: grub2 (Ubuntu)
       Status: New => Incomplete

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

Title:
  package grub-pc 2.00-13ubuntu2 failed to install/upgrade: subprocess
  installed pre-removal script returned error exit status 10

Status in “grub2” package in Ubuntu:
  Incomplete

Bug description:
  E:sub-process /usr/bin/dpkg returned error code 1
  Cannot get kernel upgrade from 3.8.0-14 to 3.8.0-15 or 16.

  ProblemType: Package
  DistroRelease: Ubuntu 13.04
  Package: grub-pc 2.00-13ubuntu2
  ProcVersionSignature: Ubuntu 3.8.0-14.24-generic 3.8.4
  Uname: Linux 3.8.0-14-generic x86_64
  ApportVersion: 2.9.2-0ubuntu5
  Architecture: amd64
  Date: Wed Apr  3 11:25:15 2013
  ErrorMessage: subprocess installed pre-removal script returned error exit status 10
  InstallationDate: Installed on 2013-01-04 (88 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130101)
  MarkForUpload: True
  ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-14-generic root=UUID=de86b438-1199-4a37-88e6-ab946fd3bedf ro drm.debug=0xe plymouth:debug
  SourcePackage: grub
  Title: package grub-pc 2.00-13ubuntu2 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 10
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list