[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How to inject Java dependency properly [Was: Bug#784057: fastqc: Package doesn't list java as a dependency]


I was assuming that adding a

   Depends: ${misc:Depends}, ${java:Depends}

would be sufficient to add a fitting JRE as a dependency and I'm now
realising that this is not the case.  Not even the implicite depends
from some lib*-java packages does help here.  On the other hand if I
look at the package figtree

Depends: ${misc:Depends}, ${java:Depends}

is resolved to

  Depends: default-jre | java6-runtime | java7-runtime, jarwrapper (>= 0.5), libbatik-java, ...

I wonder how this difference came and what I did wrong in the fastqc

Kind regards


----- Forwarded message from Hans Joachim Desserud <debian@desserud.org> -----

Dear Maintainer,

If I install fasqc on a system without an JRE, I get the following error:
$ fastqc
Can't exec "java": No such file or directory at /usr/bin/fastqc line 256.

After installing `default-jre` it works as expected. Please add a
dependency on Java for this package.

Originally reported in Ubuntu as


Reply to: