Fix dependency resolution for OpenJDK packages

When all OpenJDK (headless JRE, JRE, JDK) are supplied at once, APT
complains with failures to resolve dependencies correctly. Applying each
package in order seems to resolve the issue.
Merge branch 'hotfix/0.1.1'