I want to test nav under debian etch.
The command:aptitude install nav gives this output:
Reading package lists... Done Building dependency tree... Done Reading extended state information Initializing package states... Done Writing extended state information... Done Reading task descriptions... Done Building tag database... Done The following packages have been kept back: linux-image-2.6.18-6-amd64 0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded. Need to get 0B of archives. After unpacking 0B will be used. Writing extended state information... Done Setting up tomcat5.5 (5.5.20-2etch2) ... * Not starting Tomcat: no Java Development Kit found. invoke-rc.d: initscript tomcat5.5, action "start" failed. dpkg: error processing tomcat5.5 (--configure): subprocess post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of nav: nav depends on tomcat5.5; however: Package tomcat5.5 is not configured yet. dpkg: error processing nav (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: tomcat5.5 nav E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Setting up tomcat5.5 (5.5.20-2etch2) ... * Not starting Tomcat: no Java Development Kit found. invoke-rc.d: initscript tomcat5.5, action "start" failed. dpkg: error processing tomcat5.5 (--configure): subprocess post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of nav: nav depends on tomcat5.5; however: Package tomcat5.5 is not configured yet. dpkg: error processing nav (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: tomcat5.5 nav
I suppose the 'java-development kit' ist missing or not found. Have you a tip what to do?
sincerely
On Wed, 2008-05-28 at 17:38 +0200, Hans-Peter Fuchs wrote:
I want to test nav under debian etch.
The command:aptitude install nav gives this output:
[cut]
I suppose the 'java-development kit' ist missing or not found. Have you a tip what to do?
Hi,
Tomcat 5.5 depends upon the pseudo-package ``java2-runtime'', which is provided by e.g. ``sun-java6-jre''.
Run ``sudo aptitude install sun-java6-jre'' to install the package. After it completes, retry the NAV installation, and it should work.