I just had something similar happen to me. One of the options for dealing with a modified 'menu.lst' file is to be dropped into a shell to examine the situation. I did that, then wasn't sure what I was supposed to do when I was done. So, I typed 'exit' at the shell prompt when I was done making a backup of my menu.lst file, which caused the error.
When you're dropped into a shell like that, it'd be helpful to display some type of help to tell you what it is you're supposed to do when you're done with the shell that is created for you. -- package linux-image-2.6.27-11-generic 2.6.27-11.25 failed to install/upgrade: subprocess post-installation script returned error exit status 1 https://bugs.launchpad.net/bugs/322430 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs