I also have the same problem and I've tried all the above mentioned solutions of which none worked:
Setting up linux-image-2.6.32-41-generic (2.6.32-41.89) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Failed to symbolic-link /boot/initrd.img-2.6.32-41-generic to initrd.img: File exists
dpkg: error processing linux-image-2.6.32-41-generic (--configure):
subprocess installed post-installation script returned error exit status 17
Setting up linux-image-2.6.32-41-preempt (2.6.32-41.89) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Failed to symbolic-link /boot/initrd.img-2.6.32-41-preempt to initrd.img: File exists
dpkg: error processing linux-image-2.6.32-41-preempt (--configure):
subprocess installed post-installation script returned error exit status 17
Errors were encountered while processing:
linux-image-2.6.32-41-generic
linux-image-2.6.32-41-preempt
E: Sub-process /usr/bin/dpkg returned an error code (1)
I also have the same problem and I've tried all the above mentioned solutions of which none worked:
Setting up linux-image- 2.6.32- 41-generic (2.6.32-41.89) ... img-2.6. 32-41-generic to initrd.img: File exists 2.6.32- 41-generic (--configure): 2.6.32- 41-preempt (2.6.32-41.89) ... img-2.6. 32-41-preempt to initrd.img: File exists 2.6.32- 41-preempt (--configure): image-2. 6.32-41- generic image-2. 6.32-41- preempt
Running depmod.
update-initramfs: deferring update (hook will be called later)
Failed to symbolic-link /boot/initrd.
dpkg: error processing linux-image-
subprocess installed post-installation script returned error exit status 17
Setting up linux-image-
Running depmod.
update-initramfs: deferring update (hook will be called later)
Failed to symbolic-link /boot/initrd.
dpkg: error processing linux-image-
subprocess installed post-installation script returned error exit status 17
Errors were encountered while processing:
linux-
linux-
E: Sub-process /usr/bin/dpkg returned an error code (1)