On 04/16/2014 07:18 PM, Alex 'AdUser' Z wrote:
> Package: libservice-wrapper-jni
> Severity: normal
> 
> For now this package depends on: (default-jre|java5-runtime|java6-runtime)
> 
> ....and ignores at least latest upstream 'java7-runtime' package and
> all 'headless' versions of java?-runtime. This causes dependency bloat.
> 
> For example: to use service-wrapper i need to install x11-components,
> gtk and cairo on headless server. Please fix that.

Hi Alex,

Thanks for the report.  You're correct regarding the dependency on a
-headless variant of the JRE.  It'll be fixed in the next upload.

Because java6-runtime is a virtual package (see [1], [2]) provided by
the openjdk-[78]-jre packages, there's no need to explicitly list
java7-runtime as a dependency.

> $ apt-cache show openjdk-7-jre | grep Provides
> Provides: java-runtime, java2-runtime, java5-runtime, java6-runtime, 
> java7-runtime
> Provides: java-runtime, java2-runtime, java5-runtime, java6-runtime, 
> java7-runtime

Think of java6-runtime as referring to any JRE that supports running
Java 6 bytecode.

Thank you,
tony

[1] https://www.debian.org/doc/debian-policy/ch-binary.html#s-virtual_pkg
[2]
https://www.debian.org/doc/manuals/debian-faq/ch-pkg_basics.en.html#s-virtual



Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to