package tomcat6 (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tomcat6 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: tomcat6
When removing all previously installed packages of tomcat6 in Ubuntu Linux OS,i am getting this error and next it will not installing the system.
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: tomcat6 (not installed)
ProcVersionSign
Uname: Linux 2.6.32-27-generic i686
Architecture: i386
Date: Sat Jan 8 12:07:44 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
SourcePackage: tomcat6
Title: package tomcat6 (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Error is: tomcat- users.xml' : No such file or directory
Setting up tomcat6 (6.0.24-2ubuntu1.5) ...
chmod: cannot access `/etc/tomcat6/
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.