[Bug 611721] Re: postinst fails if group exists

Disconnect 611721 at bugs.launchpad.net
Thu Aug 12 15:46:29 BST 2010


root at foo:~# aptitude -vvv install tomcat6
..
The following partially installed packages will be configured:
  tomcat6 
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Setting up tomcat6 (6.0.24-2ubuntu1.2) ...
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)
..
root at foo:~# dpkg --configure -a -D2
Setting up tomcat6 (6.0.24-2ubuntu1.2) ...
D000002: fork/exec /var/lib/dpkg/info/tomcat6.postinst ( configure  )
dpkg: error processing tomcat6 (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 tomcat6
root at foo:~# sed -i -e s_addg_#addg_ /var/lib/dpkg/info/tomcat6.postinst
  (verified that the only affected line is addgroup)
root at foo:~# dpkg --configure -a
Setting up tomcat6 (6.0.24-2ubuntu1.2) ...
 * Starting Tomcat servlet engine tomcat6
Using CATALINA_BASE:   /var/lib/tomcat6
Using CATALINA_HOME:   /usr/share/tomcat6
Using CATALINA_TMPDIR: /tmp/tomcat6-tmp
Using JRE_HOME:        /usr/lib/jvm/java-6-sun
Using CLASSPATH:       /usr/share/tomcat6/bin/bootstrap.jar
   ...done.

-- 
postinst fails if group exists
https://bugs.launchpad.net/bugs/611721
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.



More information about the Ubuntu-server-bugs mailing list