closing this issue. you should always have a dependency on a real
package first, not just depending on a virtual package.
** Changed in: openjdk-9 (Ubuntu)
Status: Confirmed => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
> 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
> after some additional testing, this appears to
> be a solution, can you see any problems with it?
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
Tiago,
after some additional testing, this appears to be a solution, can you see
any problems with it?
```
Depends: ${misc:Depends}, bash, daemon, adduser, psmisc, lsb-base,
openjdk-8-jre-headless | java8-runtime
Conflicts:
```
These were the results in my testing:
- With no JRE installed,
Thanks Jonas for your comments.
> I can confirm that this works. However, this introduces another issue
> in case the user has installed for example an Oracle JRE, or even an
> IBM JRE. In that case, openjdk-8 would unnecessarily be pulled in.
When using only "Depends:" it must contain each
Thanks for your reply
> Actually, it does work just fine and will install OpenJDK 8
> *if* the user has not installed OpenJDK 9 before (otherwise
> OpenJDK 9 will satisfy the java8|9-runtime dependencies)
I can confirm that this works. However, this introduces another issue
in case the user has
Jonas, thank you for your contribution.
> I am not involved with Puppet. I just linked to them
> as an example. But your suggestion doesn't work since
Actually, it does work just fine and will install OpenJDK 8 *if* the user has
not installed OpenJDK 9 before (otherwise OpenJDK 9 will satisfy
I am not involved with Puppet. I just linked to them as an example. But
your suggestion doesn't work since the problem is that Java9 is the
default java8-runtime which is installed if you don't have java
installed already.
And until Java9 is released, the default java8-runtime should be
provided
Bug description says it affects 3 people. Let me know if improving the
Depends: field did *not* fix this for you.
Meanwhile I will set it as Incomplete and it will be invalidated after a
while if I get no response.
** Changed in: openjdk-9 (Ubuntu)
Status: Confirmed => Incomplete
--
You
Thank you for taking the time to report this bug and helping to make
Ubuntu better.
I can see from https://github.com/puppetlabs/ezbake/pull/303 that you
have implemented a fix.
Your current settings will force the user to install a openkdk-7|8-jre-
headless package even if he has something else
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: openjdk-9 (Ubuntu)
Status: New => Confirmed
--
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:
Forgot to mention, version 16.04 (sorry, got lost in an edit)
--
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
12 matches
Mail list logo