A few details on the proposed solutions: * Fix the apt bug that makes it break the circular dependency at a weird point This is difficult because of the regression potential, should probably be avoided if we can fix it in the Depends themselves ?
* Try making default-jre-headless depend on both openjdk-6-jre-lib and openjdk-6-jre-headless I tried this and it works : the dependency loop gets arbitrarily broken at that level rather than at tomcat6 level: ... Setting up openjdk-6-jre-lib (6b12-0ubuntu6) ... Setting up default-jre-headless (1.6-30ubuntu3.1) ... Setting up openjdk-6-jre-headless (6b12-0ubuntu6) ... ... Setting up tomcat6 (6.0.18-0ubuntu3) ... The interesting thing is that this would fix any package depending on default-jre / default-jre-headless. * Use the same ugly workaround as in ca-certificates-java postinst The workaround is creating the missing /etc/$jvm/jvm.cfg file for the time it takes to start tomcat6: if [ ! -f /etc/$jvm/jvm.cfg ]; then temp_jvm_cfg=/etc/$jvm/jvm.cfg mkdir -p /etc/$jvm printf -- "-server KNOWN\n" > $temp_jvm_cfg fi ... [ -z "$temp_jvm_cfg" ] || rm -f $temp_jvm_cfg * Add a Pre-Depend That one we already know, and want to avoid if possible. -- Tomcat 6 fails to start during install https://bugs.launchpad.net/bugs/288616 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
