Bug#658554: Upgrade to 6.0.35-1+squeeze2 failed due to multiline properties in /etc/default/tomcat6
tony mancill
tmancill at debian.org
Sat Feb 4 04:30:33 UTC 2012
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20120203/bf5fdbd8/attachment.pgp>
More information about the pkg-java-maintainers
mailing list