On 02/03/2012 05:28 PM, Emmanuel Bourg wrote:
> 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.

Hello Emmanuel:

Thank you for the bug report.  This bug appears related to #657630
reported against debconf [1].  I'll look into using the debconf-escape
suggestion made there to improve the handling for JAVA_OPTS in the
tomcat6 and tomcat7 packages.

Thank you,
tony

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657630

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to