[Bug 1250591] [NEW] package grub-pc 1.99-21ubuntu3.10 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127

Huzaeni Rifai julungpujut at ymail.com
Tue Nov 12 18:46:04 UTC 2013


Public bug reported:

 sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up linux-image-3.2.0-56-generic-pae (3.2.0-56.86) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.2.0-56-generic-pae /boot/vmlinuz-3.2.0-56-generic-pae
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-56-generic-pae /boot/vmlinuz-3.2.0-56-generic-pae
update-initramfs: Generating /boot/initrd.img-3.2.0-56-generic-pae
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.0-56-generic-pae /boot/vmlinuz-3.2.0-56-generic-pae
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.2.0-56-generic-pae /boot/vmlinuz-3.2.0-56-generic-pae
run-parts: executing /etc/kernel/postinst.d/zz-extlinux 3.2.0-56-generic-pae /boot/vmlinuz-3.2.0-56-generic-pae
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.2.0-56-generic-pae...
P: Writing config for /boot/vmlinuz-3.2.0-55-generic-pae...
P: Writing config for Windows 7 (loader) on /dev/sda1...
P: Installing debian theme... done.
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-56-generic-pae /boot/vmlinuz-3.2.0-56-generic-pae
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-56-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-56-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-55-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-55-generic-pae
Found Windows 7 (loader) on /dev/sda1
/etc/grub.d/30_os-prober: 210: /etc/grub.d/30_os-prober: grub_quote: not found
/etc/grub.d/30_os-prober: 210: /etc/grub.d/30_os-prober: grub_get_device_id: not found
Found Ubuntu 13.10 (13.10) on /dev/sda9
/etc/grub.d/30_os-prober: 282: /etc/grub.d/30_os-prober: grub_get_device_id: 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-56-generic-pae.postinst line 1010.
dpkg: error processing linux-image-3.2.0-56-generic-pae (--configure):
 subprocess installed post-installation script returned error exit status 2
Setting up grub-pc (1.99-21ubuntu3.10) ...
Installation finished. No error reported.
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-56-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-56-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-55-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-55-generic-pae
Found Windows 7 (loader) on /dev/sda1
/etc/grub.d/30_os-prober: 210: /etc/grub.d/30_os-prober: grub_quote: not found
/etc/grub.d/30_os-prober: 210: /etc/grub.d/30_os-prober: grub_get_device_id: not found
Found Ubuntu 13.10 (13.10) on /dev/sda9
/etc/grub.d/30_os-prober: 282: /etc/grub.d/30_os-prober: grub_get_device_id: not found
dpkg: error processing grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 127
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: grub-pc 1.99-21ubuntu3.10
ProcVersionSignature: Ubuntu 3.2.0-55.85-generic-pae 3.2.51
Uname: Linux 3.2.0-55-generic-pae i686
ApportVersion: 2.0.1-0ubuntu17.6
AptOrdering:
 linux-image-3.2.0-56-generic-pae: Configure
 grub-pc: Configure
 linux-image-generic-pae: Configure
 linux-generic-pae: Configure
 grub2: Configure
Architecture: i386
Date: Wed Nov 13 01:15:02 2013
DeviceMap:
 (fd0)	/dev/fd0
 (hd0)	/dev/sda
 (hd1)	/dev/sdb
DuplicateSignature: package:grub-pc:1.99-21ubuntu3.10:subprocess installed post-installation script returned error exit status 127
ErrorMessage: subprocess installed post-installation script returned error exit status 127
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
MarkForUpload: True
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-55-generic-pae root=/dev/sda6 ro quiet splash vt.handoff=7
SourcePackage: grub2
Title: package grub-pc 1.99-21ubuntu3.10 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-package i386 precise

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

Title:
  package grub-pc 1.99-21ubuntu3.10 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 127

Status in “grub2” package in Ubuntu:
  New

Bug description:
   sudo apt-get upgrade
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  5 not fully installed or removed.
  After this operation, 0 B of additional disk space will be used.
  Do you want to continue [Y/n]? y
  Setting up linux-image-3.2.0-56-generic-pae (3.2.0-56.86) ...
  Running depmod.
  update-initramfs: deferring update (hook will be called later)
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.2.0-56-generic-pae /boot/vmlinuz-3.2.0-56-generic-pae
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-56-generic-pae /boot/vmlinuz-3.2.0-56-generic-pae
  update-initramfs: Generating /boot/initrd.img-3.2.0-56-generic-pae
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.0-56-generic-pae /boot/vmlinuz-3.2.0-56-generic-pae
  run-parts: executing /etc/kernel/postinst.d/update-notifier 3.2.0-56-generic-pae /boot/vmlinuz-3.2.0-56-generic-pae
  run-parts: executing /etc/kernel/postinst.d/zz-extlinux 3.2.0-56-generic-pae /boot/vmlinuz-3.2.0-56-generic-pae
  P: Checking for EXTLINUX directory... found.
  P: Writing config for /boot/vmlinuz-3.2.0-56-generic-pae...
  P: Writing config for /boot/vmlinuz-3.2.0-55-generic-pae...
  P: Writing config for Windows 7 (loader) on /dev/sda1...
  P: Installing debian theme... done.
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-56-generic-pae /boot/vmlinuz-3.2.0-56-generic-pae
  Generating grub.cfg ...
  Found linux image: /boot/vmlinuz-3.2.0-56-generic-pae
  Found initrd image: /boot/initrd.img-3.2.0-56-generic-pae
  Found linux image: /boot/vmlinuz-3.2.0-55-generic-pae
  Found initrd image: /boot/initrd.img-3.2.0-55-generic-pae
  Found Windows 7 (loader) on /dev/sda1
  /etc/grub.d/30_os-prober: 210: /etc/grub.d/30_os-prober: grub_quote: not found
  /etc/grub.d/30_os-prober: 210: /etc/grub.d/30_os-prober: grub_get_device_id: not found
  Found Ubuntu 13.10 (13.10) on /dev/sda9
  /etc/grub.d/30_os-prober: 282: /etc/grub.d/30_os-prober: grub_get_device_id: 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-56-generic-pae.postinst line 1010.
  dpkg: error processing linux-image-3.2.0-56-generic-pae (--configure):
   subprocess installed post-installation script returned error exit status 2
  Setting up grub-pc (1.99-21ubuntu3.10) ...
  Installation finished. No error reported.
  Generating grub.cfg ...
  Found linux image: /boot/vmlinuz-3.2.0-56-generic-pae
  Found initrd image: /boot/initrd.img-3.2.0-56-generic-pae
  Found linux image: /boot/vmlinuz-3.2.0-55-generic-pae
  Found initrd image: /boot/initrd.img-3.2.0-55-generic-pae
  Found Windows 7 (loader) on /dev/sda1
  /etc/grub.d/30_os-prober: 210: /etc/grub.d/30_os-prober: grub_quote: not found
  /etc/grub.d/30_os-prober: 210: /etc/grub.d/30_os-prober: grub_get_device_id: not found
  Found Ubuntu 13.10 (13.10) on /dev/sda9
  /etc/grub.d/30_os-prober: 282: /etc/grub.d/30_os-prober: grub_get_device_id: not found
  dpkg: error processing grub-pc (--configure):
   subprocess installed post-installation script returned error exit status 127
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 12.04
  Package: grub-pc 1.99-21ubuntu3.10
  ProcVersionSignature: Ubuntu 3.2.0-55.85-generic-pae 3.2.51
  Uname: Linux 3.2.0-55-generic-pae i686
  ApportVersion: 2.0.1-0ubuntu17.6
  AptOrdering:
   linux-image-3.2.0-56-generic-pae: Configure
   grub-pc: Configure
   linux-image-generic-pae: Configure
   linux-generic-pae: Configure
   grub2: Configure
  Architecture: i386
  Date: Wed Nov 13 01:15:02 2013
  DeviceMap:
   (fd0)	/dev/fd0
   (hd0)	/dev/sda
   (hd1)	/dev/sdb
  DuplicateSignature: package:grub-pc:1.99-21ubuntu3.10:subprocess installed post-installation script returned error exit status 127
  ErrorMessage: subprocess installed post-installation script returned error exit status 127
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
  MarkForUpload: True
  ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-55-generic-pae root=/dev/sda6 ro quiet splash vt.handoff=7
  SourcePackage: grub2
  Title: package grub-pc 1.99-21ubuntu3.10 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list