Setting up linux-image-3.2.0-31-generic (3.2.0-31.50) ... Running depmod. update-initramfs: deferring update (hook will be called later) Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-31-generic /boot/vmlinuz-3.2.0-31-generic update-initramfs: Generating /boot/initrd.img-3.2.0-31-generic run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.0-31-generic /boot/vmlinuz-3.2.0-31-generic run-parts: executing /etc/kernel/postinst.d/update-notifier 3.2.0-31-generic /boot/vmlinuz-3.2.0-31-generic run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-31-generic /boot/vmlinuz-3.2.0-31-generic Searching for GRUB installation directory ... found: /boot/grub Searching for default file ... found: /boot/grub/default Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst Searching for splash image ... none found, skipping ... Found kernel: /boot/vmlinuz-3.2.0-31-generic Found kernel: /boot/vmlinuz-3.2.0-30-generic Found kernel: /boot/vmlinuz-2.6.32-41-generic Found kernel: /boot/vmlinuz-2.6.24-19-generic Found kernel: /boot/memtest86+.bin Use of uninitialized value $reply in scalar chomp at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 66, line 8. Use of uninitialized value $reply in concatenation (.) or string at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 67, line 8. Use of uninitialized value $reply in split at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 68, line 8. Use of uninitialized value in string eq at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 202, line 8. Use of uninitialized value $reply in scalar chomp at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 66, line 8. Use of uninitialized value $reply in concatenation (.) or string at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 67, line 8. Use of uninitialized value $reply in split at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 68, line 8. Use of uninitialized value $ret in string eq at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 212, line 8. Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/DbDriver/Stack.pm line 111, line 8. Updating /boot/grub/menu.lst ... done Use of uninitialized value $val in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 83, line 11. Use of uninitialized value $val in concatenation (.) or string at /usr/share/perl5/Debconf/Format/822.pm line 84, line 11. run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 128 Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.2.0-31-generic.postinst line 1010. dpkg: error processing linux-image-3.2.0-31-generic (--configure): subprocess installed post-installation script returned error exit status 2