> Any installed JRE that Provides java8-runtime will satisfy your Depends.
> Unfortunately that includes openjdk-9-jre - but then the user must have
> installed it beforehand. Otherwise openjdk-8-jre-headless will be
> installed.

We are OK with openjdk-9 satisfying the Depends as long as it has been
installed explicitly. The concern is primarily for less experienced users who 
do no have java installed already.
 
> It's exactly because openjdk-9-jre can also satisfy that Depends that I
> previously suggested depending explicitly on the JRE packages that you
> support instead of relying on the "java8-runtime" virtual package for a
> "catch all".

Problem for us is that we don't have a list of packages that we support.
We have a clear list of supported JREs but only openjdk is available in
a clear package. The rest might be called anything.

> On a side note, if you prefer to keep relying on the virtual package you
> might want to use "java8-runtime-headless" instead of "java8-runtime"
> (given that your other dependency is "openjdk-8-jre-headless").

Yes, good catch.

Thanks for your help on this issue.

BR
/Jonas

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1584118

Title:
  16.04 incorrectly installs openjdk-9 to satisfy java8-runtime
  dependency

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-9/+bug/1584118/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to