[Bug 653766] Re: package linux-image-2.6.32-25-generic 2.6.32-25.44 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Torsten Landschoff torsten at debian.org
Mon Aug 8 08:23:18 UTC 2011


I just installed the proposed (security) updates on my Lucid Lynx
system. This resulted in the following error:

root at sharokan:~# dpkg --configure -a
Setting up linux-image-2.6.32-33-generic (2.6.32-33.71) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.32-33-generic
Not updating initrd symbolic links since we are being updated/reinstalled 
(2.6.32-33.70 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled 
(2.6.32-33.70 was configured last, according to dpkg)
Running postinst hook script /usr/sbin/update-grub.
Generating grub.cfg ...
/usr/sbin/grub-probe: error: no mapping exists for `vg0-karmic-root'.
User postinst hook script [/usr/sbin/update-grub] exited with value 1
dpkg: error processing linux-image-2.6.32-33-generic (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up grub-pc (1.98-1ubuntu12) ...
Generating grub.cfg ...
/usr/sbin/grub-probe: error: no mapping exists for `vg0-karmic-root'.
dpkg: error processing grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 linux-image-2.6.32-33-generic
 grub-pc

I originally installed karmic, upgraded to lucid quite a while ago. Root
is on /dev/vg0/karmic-root which is a simple LVM setup. Booted fine so
far...

root at sharokan:~# grub-probe -t device /
/dev/mapper/vg0-karmic--root
root at sharokan:~# grub-probe -t abstraction -d /dev/mapper/vg0-karmic--root 
grub-probe: error: no mapping exists for `vg0-karmic-root'.

I fear this means that the update made my system unbootable.

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

Title:
  package linux-image-2.6.32-25-generic 2.6.32-25.44 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

Status in “grub2” package in Ubuntu:
  New

Bug description:
  Binary package hint: grub2

  Ubuntu 10.04.1 LTS
  Upgrade via the update notifier exited with errors. I have tried "apt-get upgrade" after and the output is below:

  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  3 not fully installed or removed.
  After this operation, 0B of additional disk space will be used.
  Do you want to continue [Y/n]? y
  Setting up linux-image-2.6.32-25-generic (2.6.32-25.44) ...
  Running depmod.
  update-initramfs: Generating /boot/initrd.img-2.6.32-25-generic
  Running postinst hook script /usr/sbin/update-grub.
  error: unknown LVM metadata header.
  error: unknown LVM metadata header.
  Generating grub.cfg ...
  error: unknown LVM metadata header.
  error: unknown LVM metadata header.
  error: unknown LVM metadata header.
  /usr/sbin/grub-probe: error: unknown filesystem.
  User postinst hook script [/usr/sbin/update-grub] exited with value 1
  dpkg: error processing linux-image-2.6.32-25-generic (--configure):
   subprocess installed post-installation script returned error exit status 1
  dpkg: dependency problems prevent configuration of linux-image-generic:
   linux-image-generic depends on linux-image-2.6.32-25-generic; however:
    Package linux-image-2.6.32-25-generic is not configured yet.
  dpkg: error processing linux-image-generic (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of linux-generic:
   linux-generic depends on linux-image-generic (= 2.6.32.25.27); however:
    Package linux-image-generic is not configured yet.
  dpkg: error processing linux-generic (--configure):
   dependency problems - leaving unconfigured
  No apport report written because the error message indicates it's a follow-up error from a previous failure.
                              No apport report written because the error message indicates it's a follow-up error from a previous failure.
                                                          Errors were encountered while processing:
   linux-image-2.6.32-25-generic
   linux-image-generic
   linux-generic
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 10.04
  Package: linux-image-2.6.32-25-generic 2.6.32-25.44
  ProcVersionSignature: Ubuntu 2.6.32-24.43-generic 2.6.32.15+drm33.5
  Uname: Linux 2.6.32-24-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Sat Oct  2 21:18:36 2010
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  SourcePackage: grub2
  Title: package linux-image-2.6.32-25-generic 2.6.32-25.44 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

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




More information about the foundations-bugs mailing list