[Bug 698210] Re: package tomcat6 6.0.28-2ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
** Changed in: tomcat6 (Debian) Status: Unknown = 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/tomcat6/+bug/698210/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 698210] Re: package tomcat6 6.0.28-2ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
-- 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 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 698210] Re: package tomcat6 6.0.28-2ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
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 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs