Thanks for your report
The relevant error is
---
Setting up linux-image-2.6.31-20-generic (2.6.31-20.57) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.31-20-generic
Running postinst hook script /usr/sbin/update-grub.
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.31-20-generic
Found initrd image: /boot/initrd.img-2.6.31-20-generic
Found linux image: /boot/vmlinuz-2.6.31-19-generic
Found initrd image: /boot/initrd.img-2.6.31-19-generic
Found linux image: /boot/vmlinuz-2.6.31-17-generic
Found initrd image: /boot/initrd.img-2.6.31-17-generic
Found linux image: /boot/vmlinuz-2.6.31-14-generic
Found initrd image: /boot/initrd.img-2.6.31-14-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Microsoft Windows XP Professional on /dev/sda1
/etc/grub.d/README: 2: All: not found
/etc/grub.d/README: 4: 00_*:: not found
/etc/grub.d/README: 5: 10_*:: not found
/etc/grub.d/README: 6: Syntax error: "(" unexpected
User postinst hook script [/usr/sbin/update-grub] exited with value 2
dpkg: error processing linux-image-2.6.31-20-generic (--configure):
subprocess installed post-installation script returned error exit status 2
Did you change the permission of the file /etc/grub.d/README to executable
manually ?
To workaround this problem open a terminal and run:
$ sudo chmod a-x /etc/grub.d/README
and try performing the upgrade again.
** Changed in: grub2 (Ubuntu)
Status: New => Incomplete
** Summary changed:
- package linux-image-2.6.31-20-generic 2.6.31-20.57 failed to install/upgrade:
subprocess installed post-installation script returned error exit status 2
+ package linux-image-2.6.31-20-generic 2.6.31-20.57 failed to install/upgrade:
/etc/grub.d/README executable bit set
--
package linux-image-2.6.31-20-generic 2.6.31-20.57 failed to install/upgrade:
/etc/grub.d/README executable bit set
https://bugs.launchpad.net/bugs/537123
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs