"apt-get dist-upgrade" hung for me with the /etc/kernel/postinst.d/zz-
update-grub step.  Here's the output of rerunning the upgrade:

dpkg --configure -a

Setting up linux-headers-3.19.0-32 (3.19.0-32.37~14.04.1) ...
Setting up linux-image-3.19.0-32-generic (3.19.0-32.37~14.04.1) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
initrd.img(/boot/initrd.img-3.19.0-32-generic
) points to /boot/initrd.img-3.19.0-32-generic
 (/boot/initrd.img-3.19.0-32-generic) -- doing nothing at 
/var/lib/dpkg/info/linux-image-3.19.0-32-generic.postinst line 491.
vmlinuz(/boot/vmlinuz-3.19.0-32-generic
) points to /boot/vmlinuz-3.19.0-32-generic
 (/boot/vmlinuz-3.19.0-32-generic) -- doing nothing at 
/var/lib/dpkg/info/linux-image-3.19.0-32-generic.postinst line 491.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.19.0-32-generic 
/boot/vmlinuz-3.19.0-32-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.19.0-32-generic 
/boot/vmlinuz-3.19.0-32-generic
ERROR: Cannot create report: [Errno 17] File exists: 
'/var/crash/virtualbox-dkms.0.crash'
Error! Bad return status for module build on kernel: 3.19.0-32-generic (x86_64)
Consult /var/lib/dkms/virtualbox/4.3.10/build/make.log for more information.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.19.0-32-generic 
/boot/vmlinuz-3.19.0-32-generic
update-initramfs: Generating /boot/initrd.img-3.19.0-32-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.19.0-32-generic 
/boot/vmlinuz-3.19.0-32-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.19.0-32-generic 
/boot/vmlinuz-3.19.0-32-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.19.0-32-generic 
/boot/vmlinuz-3.19.0-32-generic

At which point the terminal is locked up.  Hitting CTRL+C does nothing.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1510563

Title:
  package linux-image-3.19.0-32-generic 3.19.0-32.37 failed to
  install/upgrade: run-parts: /etc/kernel/postinst.d/zz-update-grub
  exited with return code 10

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to