Looks like the problem is that you ran "sudo aptitude remove --purge" instead of "sudo aptitude purge", resulting in an non-purged tomcat6 package. "remove --purge" is an APT option, not an aptitude one.
** Changed in: tomcat6 (Ubuntu) Status: Confirmed => Invalid -- package tomcat6 6.0.18-0ubuntu6.1 failed to install/upgrade: subprocess post-installation script returned error exit status 1 https://bugs.launchpad.net/bugs/417212 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