package linux-image-2.6.31-23-generic 2.6.31-23.74 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #739439 reported by Muddy on 2011-03-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: grub

This may be connected to 738529 as it seems very similar.
Said my menu.lst file was changed but I know I've never touched it.
It asked what I wanted to do so I told it to use package maintainers version but have not yet rebooted as I'm heading out to work and do not have time to try restoring if it fails.

ProblemType: Package
Architecture: i386
Date: Mon Mar 21 10:44:33 2011
DistroRelease: Ubuntu 9.10
ErrorMessage: subprocess installed post-installation script returned error exit status 1
NonfreeKernelModules: nvidia
Package: linux-image-2.6.31-23-generic 2.6.31-23.74
ProcVersionSignature: Ubuntu 2.6.31-21.59-generic
SourcePackage: grub
Title: package linux-image-2.6.31-23-generic 2.6.31-23.74 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Uname: Linux 2.6.31-21-generic i686

Muddy (muddysmind) wrote :
Muddy (muddysmind) wrote :
Download full text (7.1 KiB)

Here is some of the output I captured.

E: linux-image-2.6.31-23-generic: subprocess installed post-installation script returned error exit status 1
E: linux-image-generic: dependency problems - leaving unconfigured
E: linux-generic: dependency problems - leaving unconfigured

//////////////////////////////////////////////////////////////////////////////////////////////////////////////

Preconfiguring packages ...
Selecting previously deselected package linux-image-2.6.31-23-generic.
(Reading database ... 356453 files and directories currently installed.)
Unpacking linux-image-2.6.31-23-generic (from .../linux-image-2.6.31-23-generic_2.6.31-23.74_i386.deb) ...
Done.
Preparing to replace tzdata 2011c-0ubuntu0.9.10 (using .../tzdata_2011d-0ubuntu0.9.10_all.deb) ...
Unpacking replacement tzdata ...
Setting up tzdata (2011d-0ubuntu0.9.10) ...

Current default time zone: 'America/New_York'
Local time is now: Mon Mar 21 10:42:31 EDT 2011.
Universal Time is now: Mon Mar 21 14:42:31 UTC 2011.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

(Reading database ... 359769 files and directories currently installed.)
Preparing to replace libgssapi-krb5-2 1.7dfsg~beta3-1ubuntu0.9 (using .../libgssapi-krb5-2_1.7dfsg~beta3-1ubuntu0.12_i386.deb) ...
Unpacking replacement libgssapi-krb5-2 ...
Preparing to replace libkrb5-3 1.7dfsg~beta3-1ubuntu0.9 (using .../libkrb5-3_1.7dfsg~beta3-1ubuntu0.12_i386.deb) ...
Unpacking replacement libkrb5-3 ...
Preparing to replace libkrb5support0 1.7dfsg~beta3-1ubuntu0.9 (using .../libkrb5support0_1.7dfsg~beta3-1ubuntu0.12_i386.deb) ...
Unpacking replacement libkrb5support0 ...
Preparing to replace libk5crypto3 1.7dfsg~beta3-1ubuntu0.9 (using .../libk5crypto3_1.7dfsg~beta3-1ubuntu0.12_i386.deb) ...
Unpacking replacement libk5crypto3 ...
Preparing to replace libtiff4 3.8.2-13ubuntu0.4 (using .../libtiff4_3.8.2-13ubuntu0.5_i386.deb) ...
Unpacking replacement libtiff4 ...
Preparing to replace linux-generic 2.6.31.22.35 (using .../linux-generic_2.6.31.23.36_i386.deb) ...
Unpacking replacement linux-generic ...
Preparing to replace linux-image-generic 2.6.31.22.35 (using .../linux-image-generic_2.6.31.23.36_i386.deb) ...
Unpacking replacement linux-image-generic ...
Selecting previously deselected package linux-headers-2.6.31-23.
Unpacking linux-headers-2.6.31-23 (from .../linux-headers-2.6.31-23_2.6.31-23.74_all.deb) ...
Selecting previously deselected package linux-headers-2.6.31-23-generic.
Unpacking linux-headers-2.6.31-23-generic (from .../linux-headers-2.6.31-23-generic_2.6.31-23.74_i386.deb) ...
Preparing to replace linux-headers-generic 2.6.31.22.35 (using .../linux-headers-generic_2.6.31.23.36_i386.deb) ...
Unpacking replacement linux-headers-generic ...
Preparing to replace linux-libc-dev 2.6.31-22.73 (using .../linux-libc-dev_2.6.31-23.74_i386.deb) ...
Unpacking replacement linux-libc-dev ...
Setting up linux-image-2.6.31-23-generic (2.6.31-23.74) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.31-23-generic
Running postinst hook script /sbin/update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for...

Read more...

Muddy (muddysmind) wrote :

rebooted after looking at the menu.lst and verifying all files are located where it is looking for them.
However on reboot getting Error 15: File not found for All kernels.

Muddy (muddysmind) wrote :

resolved by going into live cd and using mdadm to reassemble my boot raid 1 volume, mounting it, changing the menu.lst to old_menu.lst and renaming menu.lst~ to menu.lst, after rebooting back up found the menu.lst that was not working had changed all my file locations to /boot from just /
Not sure why the upgrade script renamed all the file locations in the menu.lst file but for me it's resolved.

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

Other bug subscribers