[Bug 1516230] Re: package grub-pc 2.02~beta2-22ubuntu1.2 failed to install/upgrade: subprocess installed post-installation script was killed by signal (Terminated) Grub does not finish, hangs at final configuration.

Dan Loudermilk danl756 at yahoo.com
Sat Nov 14 22:16:12 UTC 2015


This is a reoccurring problem.  It began at some point when I had Ubuntu 14.10, and I hoped by upgrading to 15.04 it would go away.  No such luck.
This is how it goes:I run Synaptic, refresh the repositories, mark all upgrades, and apply.  Here is the window output: (synaptic:4168): GLib-CRITICAL **: g_child_watch_add_full: assertion 'pid > 0' failed(Reading database ... 313471 files and directories currently installed.)Preparing to unpack .../xserver-xorg-video-intel_2%3a2.99.917-1~exp1ubuntu2.3_i386.deb ...Unpacking xserver-xorg-video-intel (2:2.99.917-1~exp1ubuntu2.3) over (2:2.99.917-1~exp1ubuntu2.2) ...Processing triggers for man-db (2.7.0.2-5) ...Setting up grub-pc (2.02~beta2-22ubuntu1.2) ...Installing for i386-pc platform.Installation finished. No error reported.Generating grub configuration file ...Found linux image: /boot/vmlinuz-3.16.0-39-genericFound initrd image: /boot/initrd.img-3.16.0-39-genericFound Windows 8 (loader) on /dev/sda1
The update hangs at this point.  I have let it go on for hours overnight, but it never finishes.From some on-line discussions, I found that it you can kill Grub if it stalls while writing the config.dat file, which will allow dpkg to continue.I ran fuser in a root window to get the process ID to kill it:fuser -v /var/cache/debconf/config.dat                     USER        PID ACCESS COMMAND/var/cache/debconf/config.dat:                     root       4234 F.... frontend
and kill it:kill 4234
Which allows dpkg to continue:dpkg: error processing package grub-pc (--configure): subprocess installed post-installation script was killed by signal (Terminated)Setting up xserver-xorg-video-intel (2:2.99.917-1~exp1ubuntu2.3) ...doneProcessing triggers for libc-bin (2.21-0ubuntu4) ...Errors were encountered while processing: grub-pcE: Sub-process /usr/bin/dpkg returned an error code (1)A package failed to install.  Trying to recover:Setting up grub-pc (2.02~beta2-22ubuntu1.2) ...Installing for i386-pc platform.Installation finished. No error reported.Generating grub configuration file ...Found linux image: /boot/vmlinuz-3.16.0-39-genericFound initrd image: /boot/initrd.img-3.16.0-39-genericFound Windows 8 (loader) on /dev/sda1
Of course, it hangs here again, just as before. So I run fuser again:fuser -v /var/cache/debconf/config.dat                     USER        PID ACCESS COMMAND/var/cache/debconf/config.dat:                     root       5461 F.... frontendand then kill it again:kill 5461
Which gives me an error window:E: grub-pc: subprocess installed post-installation script was killed by signal (Terminated)

meanwhile, in the process window:dpkg: error processing package grub-pc (--configure): subprocess installed post-installation script was killed by signal (Terminated)doneErrors were encountered while processing: grub-pc
But at least my updates seem to get done this way.
Thanks!
Dan'L
From: Phillip Susi <psusi at ubuntu.com>
 To: danl756 at yahoo.com 
 Sent: Saturday, November 14, 2015 12:27 PM
 Subject: [Bug 1516230] Re: package grub-pc 2.02~beta2-22ubuntu1.2 failed to install/upgrade: subprocess installed post-installation script was killed by signal (Terminated) Grub does not finish, hangs at final configuration.
   
Sometimes it can take a while; how long did you wait?  Can you try
manually running sudo update-grub?


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

-- 
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1516230

Title:
  package grub-pc 2.02~beta2-22ubuntu1.2 failed to install/upgrade:
  subprocess installed post-installation script was killed by signal
  (Terminated) Grub does not finish, hangs at final configuration.

Status in grub2 package in Ubuntu:
  Incomplete

Bug description:
  Grub never finishes. I have to kill it to exit install.

  ProblemType: Package
  DistroRelease: Ubuntu 15.04
  Package: grub-pc 2.02~beta2-22ubuntu1.2
  ProcVersionSignature: Ubuntu 3.16.0-39.53-generic 3.16.7-ckt11
  Uname: Linux 3.16.0-39-generic i686
  ApportVersion: 2.17.2-0ubuntu1.8
  Architecture: i386
  Date: Thu Nov 12 21:46:21 2015
  DuplicateSignature: package:grub-pc:2.02~beta2-22ubuntu1.2:subprocess installed post-installation script was killed by signal (Terminated)
  ErrorMessage: subprocess installed post-installation script was killed by signal (Terminated)
  InstallationDate: Installed on 2011-11-23 (1451 days ago)
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
  ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-39-generic root=UUID=7682e799-2f47-4599-b29e-94c61662567a ro quiet splash
  RelatedPackageVersions:
  dpkg 1.17.25ubuntu1
  apt  1.0.9.7ubuntu4.2
  SourcePackage: grub2
  Title: package grub-pc 2.02~beta2-22ubuntu1.2 failed to install/upgrade: subprocess installed post-installation script was killed by signal (Terminated)
  UpgradeStatus: No upgrade log present (probably fresh install)

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

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

Title:
  package grub-pc 2.02~beta2-22ubuntu1.2 failed to install/upgrade:
  subprocess installed post-installation script was killed by signal
  (Terminated) Grub does not finish, hangs at final configuration.

Status in grub2 package in Ubuntu:
  Incomplete

Bug description:
  Grub never finishes. I have to kill it to exit install.

  ProblemType: Package
  DistroRelease: Ubuntu 15.04
  Package: grub-pc 2.02~beta2-22ubuntu1.2
  ProcVersionSignature: Ubuntu 3.16.0-39.53-generic 3.16.7-ckt11
  Uname: Linux 3.16.0-39-generic i686
  ApportVersion: 2.17.2-0ubuntu1.8
  Architecture: i386
  Date: Thu Nov 12 21:46:21 2015
  DuplicateSignature: package:grub-pc:2.02~beta2-22ubuntu1.2:subprocess installed post-installation script was killed by signal (Terminated)
  ErrorMessage: subprocess installed post-installation script was killed by signal (Terminated)
  InstallationDate: Installed on 2011-11-23 (1451 days ago)
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
  ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-39-generic root=UUID=7682e799-2f47-4599-b29e-94c61662567a ro quiet splash
  RelatedPackageVersions:
   dpkg 1.17.25ubuntu1
   apt  1.0.9.7ubuntu4.2
  SourcePackage: grub2
  Title: package grub-pc 2.02~beta2-22ubuntu1.2 failed to install/upgrade: subprocess installed post-installation script was killed by signal (Terminated)
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list