I'm running xubuntu off of a USB and I'm trying to run the command
sudo apt-get upgrade
but I keep getting this error
Failed to symbolic-link /boot/initrd.img-3.8.0-19-generic to initrd.img:File exists at /var/lib/dpkg/info/linux-image-extra-3.8.0-19-generic.postinst line 614. dpkg: error processing linux-image-extra-3.8.0-19-generic (--configure): subprocess installed post-installation script returned error exit status 17 Errors were encountered while processing: linux-image-extra-3.8.0-19-generic E: Sub-process /usr/bin/dpkg returned an error code (1) xubuntu@xubuntu:~$
for starters I've looked at this and other similar posts and have tried
sudo apt-get -f install
as well as removing the bad link, but with no success.
What I'm thinking about doing is unlinking
unlink the bad image and the linking
ln the file
/var/lib/dpkg/info/linux-image-extra-3.8.0-19-generic.postinst but I'm afraid I'll screw something up.
How can I resolve this?