Symlink still points to non-existent file, so above solution is not correct. The underlying issue is that update-initramfs is not installed correctly ( see https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/974765 ) so the image is not generated.
The correct solution to this problem is:
$ sudo rm /usr/sbin/update-initramfs
$ sudo dpkg-divert --rename --remove /usr/sbin/update-initramfs
$ sudo apt-get install --reinstall linux-image-3.2.0-24-generic
Symlink still points to non-existent file, so above solution is not correct. The underlying issue is that update-initramfs is not installed correctly ( see https:/ /bugs.launchpad .net/ubuntu/ +source/ ubiquity/ +bug/974765 ) so the image is not generated.
The correct solution to this problem is: update- initramfs update- initramfs 3.2.0-24- generic
$ sudo rm /usr/sbin/
$ sudo dpkg-divert --rename --remove /usr/sbin/
$ sudo apt-get install --reinstall linux-image-