package tomcat5.5 5.5.25-5ubuntu1 failed to install/upgrade: el subproceso post-installation script devolvio el codigo de salida de error 1

Bug #229404 reported by Vicente Ruiz
14
Affects Status Importance Assigned to Milestone
tomcat5.5 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: tomcat5.5

When I try install tomcat5.5 and tomcat5.5-admin it produces errors.

I have installed Intrepid.

More info:

$ sudo dpkg --force-all --configure -a
Configurando tomcat5.5 (5.5.25-5ubuntu1) ...
 * no JDK found - please set JAVA_HOME
invoke-rc.d: initscript tomcat5.5, action "start" failed.
dpkg: error al procesar tomcat5.5 (--configure):
 el subproceso post-installation script devolvió el código de salida de error 1
dpkg: tomcat5.5-admin: problemas de dependencias, pero se configurará de todas formas
 tal y como se solicitó:
 tomcat5.5-admin depende de tomcat5.5 (>= 5.5.25-5ubuntu1); sin embargo:
 El paquete `tomcat5.5' no está configurado todavía.
Configurando tomcat5.5-admin (5.5.25-5ubuntu1) ...
 * no JDK found - please set JAVA_HOME
invoke-rc.d: initscript tomcat5.5, action "force-reload" failed.
dpkg: error al procesar tomcat5.5-admin (--configure):
 el subproceso post-installation script devolvió el código de salida de error 1
Se encontraron errores al procesar:
 tomcat5.5
 tomcat5.5-admin

ProblemType: Package
Architecture: amd64
Date: Mon May 12 03:28:28 2008
DistroRelease: Ubuntu 8.10
ErrorMessage: el subproceso post-installation script devolvió el código de salida de error 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: el subproceso post-installation script devolvió el código de salida de error 1
Uname: Linux 2.6.24-16-generic x86_64

Revision history for this message
Vicente Ruiz (uve) wrote :
Revision history for this message
Vicente Ruiz (uve) wrote :

I fix it executing:

$ sudo gedit /etc/default/tomcat5.5

I add the follow line:

JAVA_HOME=/usr/lib/jvm/java-6-openjdk

$ sudo apt-get -f install

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:

Configurando tomcat5.5 (5.5.25-5ubuntu1) ...
Agregando usuario del sistema `tomcat55' (UID 114) ...
Agregando nuevo usuario `tomcat55' (UID 114) con grupo `nogroup' ...
No se crea el directorio de inicio '/usr/share/tomcat5.5'.
 * no JDK found - please set JAVA_HOME
invoke-rc.d: initscript tomcat5.5, action "start" failed.
dpkg: error al procesar tomcat5.5 (--configure):
 el subproceso post-installation script devolvió el código de salida de error 1

Changed in tomcat5.5:
status: New → Confirmed
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.