In my case this interferes with kernel installations. Post-installation
tries to update grub but the process fails and any subsequent steps are
skipped. The way around this is to remove grub-common, install the new
kernel and install grub again. Of course grub does not generate a
grub.cfg file. The grub installation fails with the same error.
root@radon:/home/ant# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
linux-headers-generic linux-headers-server linux-image-generic
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up linux-image-3.13.0-55-generic (3.13.0-55.94) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
initrd.img(/boot/initrd.img-3.13.0-55-generic
) points to /boot/initrd.img-3.13.0-55-generic
(/boot/initrd.img-3.13.0-55-generic) -- doing nothing at
/var/lib/dpkg/info/linux-image-3.13.0-55-generic.postinst line 491.
vmlinuz(/boot/vmlinuz-3.13.0-55-generic
) points to /boot/vmlinuz-3.13.0-55-generic
(/boot/vmlinuz-3.13.0-55-generic) -- doing nothing at
/var/lib/dpkg/info/linux-image-3.13.0-55-generic.postinst line 491.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-55-generic
/boot/vmlinuz-3.13.0-55-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.13.0-55-generic
/boot/vmlinuz-3.13.0-55-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-55-generic
/boot/vmlinuz-3.13.0-55-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-55-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.13.0-55-generic
/boot/vmlinuz-3.13.0-55-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-55-generic
/boot/vmlinuz-3.13.0-55-generic
Generating grub configuration file ...
grub-probe: error: disk
`lvmid/uCggES-emwj-Lb0k-yUW2-OpiX-uNdC-buju7p/vA1BlD-je3U-8Bbt-qA8F-mbjo-0wiw-y8dR5S'
not found.
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
Failed to process /etc/kernel/postinst.d at
/var/lib/dpkg/info/linux-image-3.13.0-55-generic.postinst line 1025.
dpkg: error processing package linux-image-3.13.0-55-generic (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of
linux-image-extra-3.13.0-55-generic:
linux-image-extra-3.13.0-55-generic depends on linux-image-3.13.0-55-generic;
however:
Package linux-image-3.13.0-55-generic is not configured yet.
dpkg: error processing package linux-image-extra-3.13.0-55-generic
(--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-image-3.13.0-55-generic; however:
Package linux-image-3.13.0-55-generic is not configured yet.
linux-image-generic depends on linux-image-extra-3.13.0-55-generic; however:
Package linux-image-extra-3.13.0-55-generic is not configured yet.
dpkg: error processing package linux-image-generic (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup
error from a previous failure.
No apport report written because the error message
indicates its a followup error from a previous failure.
Errors were encountered while processing:
linux-image-3.13.0-55-generic
linux-image-extra-3.13.0-55-generic
linux-image-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@radon:/home/ant#
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1318568
Title:
grub upgrade fails with lvm on top of dmraid
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1318568/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs