Bug#658554: Upgrade to 6.0.35-1+squeeze2 failed due to multiline properties in /etc/default/tomcat6

Emmanuel Bourg ebourg at apache.org
Sat Feb 4 01:28:24 UTC 2012


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6231 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20120204/adef51ae/attachment-0001.bin>


More information about the pkg-java-maintainers mailing list