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, openjdk-8-jre-headless is pulled in. - With oracle-java8-installer from webupd8 already installed, no JRE is pulled in. Am I correct in assuming that the first package (in this case openjdk-8 -jre-headless) will be installed in case none of the (virtual) packages are installed on the system? -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs