[Bug 700999] Re: package tomcat6 (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Thierry Carrez thierry at openstack.org
Wed Jan 12 13:25:52 UTC 2011


Error is:
Setting up tomcat6 (6.0.24-2ubuntu1.5) ...
chmod: cannot access `/etc/tomcat6/tomcat-users.xml': No such file or directory
dpkg: error processing tomcat6 (--configure):
 subprocess installed post-installation script returned error exit status 1

You apparently removed manually the /etc/tomcat6 directory contents. If
you want to purge configuration files, you should use "apt-get purge"
instead, otherwise you break dpkg handling of conffiles.

Run:
sudo apt-get purge tomcat6

Then you should be able to reinstall tomcat6 without errors.

** Changed in: tomcat6 (Ubuntu)
       Status: New => Invalid

-- 
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/700999

Title:
  package tomcat6 (not installed) failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 1



More information about the Ubuntu-server-bugs mailing list