I tried fixing broken apt-get -f install purging, removing the package and nothing helped. I found one working solution in a forum which bypasses the broken package.
If anyone needs installing anything after this bug occured (while we are waiting for fix) you need to temporary bypass the broken package in doing the following: in the terminal open dpkg's status file gksudo gedit /var/lib/dpkg/status remove all packages containing the words linux, generic and raring then you will be able to install with apt-get as usual. Please inform me if this doesn't help. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1235166 Title: package linux-image-3.8.0-31-generic (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1235166/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs