package tomcat5.5 5.5.25-5ubuntu1 failed to install/upgrade: subprocess post-installation script returned error exit status 1

Bug #240749 reported by kannanuv
6
Affects Status Importance Assigned to Milestone
tomcat5.5 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: tomcat5.5

tried installing tomcat through synaptic and It failed

ProblemType: Package
Architecture: i386
Date: Tue Jun 17 11:59:24 2008
DistroRelease: Ubuntu 8.04
ErrorMessage: subprocess post-installation script returned error exit status 1
NonfreeKernelModules: nvidia
Package: tomcat5.5 5.5.25-5ubuntu1
PackageArchitecture: all
SourcePackage: tomcat5.5
Title: package tomcat5.5 5.5.25-5ubuntu1 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.24-18-generic i686

Revision history for this message
kannanuv (kannanuv) wrote :
Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

That's because tomcat5.5 5.5.25-5ubuntu1 fails to install with the following error:

Setting up tomcat5.5 (5.5.25-5ubuntu1) ...
Adding system user `tomcat55' (UID 112) ...
Adding new user `tomcat55' (UID 112) with group `nogroup' ...
Not creating home directory `/usr/share/tomcat5.5'.
 * no JDK found - please set JAVA_HOME
invoke-rc.d: initscript tomcat5.5, action "start" failed.
dpkg: error processing tomcat5.5 (--configure):
 subprocess post-installation script returned error exit status 1

Revision history for this message
kannanuv (kannanuv) wrote : Re: [Bug 240749] Re: package tomcat5.5 5.5.25-5ubuntu1 failed to install/upgrade: subprocess post-installation script returned error exit status 1

But why didnt JDK get added as one of the dependencies automatically?

On Tue, Jul 15, 2008 at 12:31 PM, Pascal De Vuyst <email address hidden>
wrote:

> That's because tomcat5.5 5.5.25-5ubuntu1 fails to install with the
> following error:
>
> Setting up tomcat5.5 (5.5.25-5ubuntu1) ...
> Adding system user `tomcat55' (UID 112) ...
> Adding new user `tomcat55' (UID 112) with group `nogroup' ...
> Not creating home directory `/usr/share/tomcat5.5'.
> * no JDK found - please set JAVA_HOME
> invoke-rc.d: initscript tomcat5.5, action "start" failed.
> dpkg: error processing tomcat5.5 (--configure):
> subprocess post-installation script returned error exit status 1
>
> --
> package tomcat5.5 5.5.25-5ubuntu1 failed to install/upgrade: subprocess
> post-installation script returned error exit status 1
> https://bugs.launchpad.net/bugs/240749
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Regards,
Kannan U V

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.