upgrade to tomcat6 6.0.28-2ubuntu1.5 failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tomcat6 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The installation of the security update of tomcat6 failed with the message:
Setting up tomcat6 (6.0.28-2ubuntu1.5) ...
sed: -e expression #1, char 130: unknown option to `s'
dpkg: error processing tomcat6 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
tomcat6
E: Sub-process /usr/bin/dpkg returned an error code (1)
When investigating the problem in the post-installation script of tomcat6 (added -x to /bin/sh) I found that the error was caused by a JAVA_OPTS option, set in /etc/default/
Line 23:
sed "s/^JAVA_
evaluated to:
sed s/^JAVA_
Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 654549, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.