package grub-pc 1.98-1ubuntu6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #589384 reported by Tetsuo
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: grub2

Vanilla system from CD. Run updates and grub failed to update.

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: grub-pc 1.98-1ubuntu6
ProcVersionSignature: Ubuntu 2.6.32-22.35-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
NonfreeKernelModules: vmblock vsock vmci vmxnet vmmemctl vmhgfs
Architecture: i386
Date: Thu Jun 3 22:11:06 2010
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
SourcePackage: grub2
Title: package grub-pc 1.98-1ubuntu6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Revision history for this message
Tetsuo (blazej-pawlak) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

- Could you please describe in details what happened when the installation locked up ?
- Do you have some kind of "boot sector virus protection" BIOS setting enabled ?
- Are you able to reproduce the problem when running the following command in a terminal:
$ sudo DEBCONF_DEBUG='.*' sh -x /var/lib/dpkg/info/grub-pc.postinst configure 1.98-1ubuntu5 2>&1 | tee ~/grub-pc.log

If it hangs then please attach the file ~/grub-pc.log to this report

Thanks in advance.

Changed in grub2 (Ubuntu):
status: New → Incomplete
Revision history for this message
Tetsuo (blazej-pawlak) wrote : Re: [Bug 589384] Re: package grub-pc 1.98-1ubuntu6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Download full text (11.0 KiB)

Thanks for support!

- Nothing really happened. The update process aborted and I rebooted
the system, which worked just fine.
After rebooting I tried to update again and was asked if I want to
make a partial update. I agreed and the update proceeded and finalized
successfully.

- Maybe, forgot to add quite an important thing, this installation was
performed in VMWare.

- The command worked just fine. After that I was able to successfully
reboot the system.
Here is the output:

sudo DEBCONF_DEBUG='.*' sh -x /var/lib/dpkg/info/grub-pc.postinst
configure 1.98-1ubuntu5 2>&1 | tee ~/grub-pc.log
[sudo] password for vadmin:
+ cached_available_ids=
+ . /usr/share/debconf/confmodule
+ [ ! ]
+ PERL_DL_NONLAZY=1
+ export PERL_DL_NONLAZY
+ [ ]
+ exec /usr/share/debconf/frontend /var/lib/dpkg/info/grub-pc.postinst
configure 1.98-1ubuntu5
debconf (db): making DbDriver of type File
debconf (db config): started; filename is /var/cache/debconf/config.dat
debconf (db config): loading database
debconf (db): making DbDriver of type File
debconf (db passwords): started; filename is /var/cache/debconf/passwords.dat
debconf (db passwords): loading database
debconf (db): making DbDriver of type Stack
debconf (db): making DbDriver of type File
debconf (db templatedb): started; filename is /var/cache/debconf/templates.dat
debconf (db templatedb): loading database
debconf (developer): frontend started
debconf (db configdb): trying to getfield(debconf/frontend value) ..
debconf (db configdb): getfield done by config
debconf (user): trying frontend Dialog
debconf (developer): frontend running, package name is grub-pc
debconf (db configdb): trying to addowner(grub2/linux_cmdline grub-pc string) ..
debconf (db configdb): passing to config ..
debconf (db configdb): trying to addowner(grub2/linux_cmdline_default
grub-pc string) ..
debconf (db configdb): passing to config ..
debconf (db configdb): trying to addowner(grub2/kfreebsd_cmdline
grub-pc string) ..
debconf (db configdb): passing to config ..
debconf (db configdb): trying to
addowner(grub2/kfreebsd_cmdline_default grub-pc string) ..
debconf (db configdb): passing to config ..
debconf (db configdb): trying to
addowner(grub-pc/chainload_from_menu.lst grub-pc boolean) ..
debconf (db configdb): passing to config ..
debconf (db configdb): trying to addowner(grub-pc/install_devices
grub-pc multiselect) ..
debconf (db configdb): passing to config ..
debconf (db configdb): trying to
addowner(grub-pc/install_devices_disks_changed grub-pc multiselect) ..
debconf (db configdb): passing to config ..
debconf (db configdb): trying to addowner(grub-pc/disk_description
grub-pc text) ..
debconf (db configdb): passing to config ..
debconf (db configdb): trying to
addowner(grub-pc/partition_description grub-pc text) ..
debconf (db configdb): passing to config ..
debconf (db configdb): trying to
addowner(grub-pc/install_devices_failed grub-pc boolean) ..
debconf (db configdb): passing to config ..
debconf (db configdb): trying to
addowner(grub-pc/install_devices_empty grub-pc boolean) ..
debconf (db configdb): passing to config ..
debconf (db configdb): trying to
addowner(grub-pc/postrm_purge_boot_grub grub-pc boolean) ..
debconf (db c...

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for the trace. But no hang has been trapped in it :(
I'm setting to confirm anyway.

tags: added: vm
Changed in grub2 (Ubuntu):
status: Incomplete → Confirmed
tags: added: hang
Revision history for this message
Tetsuo (blazej-pawlak) wrote :

Thanks for your effort. I'll update this thread if that should happen
again. I've got some virtual machines still to deploy :)

On 2010-06-08, at 16:33, Jean-Baptiste Lallement
<<email address hidden>
 > wrote:

> Thanks for the trace. But no hang has been trapped in it :(
> I'm setting to confirm anyway.
>
> ** Tags added: vm
>
> ** Changed in: grub2 (Ubuntu)
> Status: Incomplete => Confirmed
>
> ** Tags added: hang
>
> --
> package grub-pc 1.98-1ubuntu6 failed to install/upgrade: subprocess
> installed post-installation script returned error exit status 1
> https://bugs.launchpad.net/bugs/589384
> You received this bug notification because you are a direct subscriber
> of the bug.

Revision history for this message
Brian Murray (brian-murray) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 511463, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.