[Bug 698210] Re: package tomcat6 6.0.28-2ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Scott Moser
smoser at canonical.com
Thu Jan 6 19:48:19 UTC 2011
I suspect that the user specified a 'tomcat6/javaopts' with a '/' in it.
This is fix-released in natty.
To backport, the change would be to debian/tomcat6.postinst:
- | sed "s/^TOMCAT6_USER=.*$/TOMCAT6_USER=$TOMCAT6_USER/" \
- | sed "s/^TOMCAT6_GROUP=.*$/TOMCAT6_GROUP=$TOMCAT6_GROUP/" \
- | sed "s/^JAVA_OPTS=.*$/JAVA_OPTS=\"$JAVA_OPTS\"/" \
+ | sed "s%^TOMCAT6_USER=.*$%TOMCAT6_USER=$TOMCAT6_USER%" \
+ | sed "s%^TOMCAT6_GROUP=.*$%TOMCAT6_GROUP=$TOMCAT6_GROUP%" \
+ | sed "s%^JAVA_OPTS=.*$%JAVA_OPTS=\"$JAVA_OPTS\"%" \
That said, you'd just then have a problem if you had a '%' in the
JAVA_OPTS variable.
** Bug watch added: Debian Bug tracker #597814
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597814
** Also affects: tomcat6 (Debian) via
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597814
Importance: Unknown
Status: Unknown
** Changed in: tomcat6 (Ubuntu)
Importance: Undecided => Medium
** Changed in: tomcat6 (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.
https://bugs.launchpad.net/bugs/698210
Title:
package tomcat6 6.0.28-2ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
More information about the Ubuntu-server-bugs
mailing list