Package: tomcat6
Version: 6.0.35-1+squeeze2

The upgrade to 6.0.35-1+squeeze2 failed with this error on my system:

  dpkg: error processing tomcat6 (--configure):
subprocess installed post-installation script returned error exit status 128
  configured to not write apport reports
                               Errors were encountered while processing:
   tomcat6


I tracked the issue back to the /etc/default/tomcat6 file which was modified in this update. In this file I split the JAVA_OPTS properties on multiple lines to improve the readability:

JAVA_OPTS="-server -Djava.awt.headless=true
           -Xmx1536M
           -XX:+HeapDumpOnOutOfMemoryError
           -XX:HeapDumpPath=/var/log/tomcat"

Unfortunately debconf doesn't seem to appreciate this. I had to reformat the property on a single line to complete the installation of this update.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to