tomcat6 postinst script err (sed)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tomcat6 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: tomcat6
problem occurred parsing this in /var/lib/
dpkg --configure --pending
sed: -e expression #1, char 175: unknown option to `s'
my defaults file is modified like this :
john@box# tail /etc/default/
# Enabling JMX
JAVA_
JAVA_
JAVA_
JAVA_
.. so I edited /var/lib/
jmxremote.*.file lines (above) contain forward-slashes that are being interpreted as delimiters by sed.
prev
cat $TEMPLATE \
| sed "s/^TOMCAT6_
| sed "s/^TOMCAT6_
| sed "s/^JAVA_
fixed
cat $TEMPLATE \
| sed "s|^TOMCAT6_
| sed "s|^TOMCAT6_
| sed "s|^JAVA_
- john.. 2011-01-27
Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command, as it will automatically gather debugging information, in a terminal:
apport-collect 708572
When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https:/ /wiki.ubuntu. com/ReportingBu gs.