Description of problem: Trying to install java-1.8.0-openjdk-headless drags javapackages-tools as dependency. Trying to install javapackages-tools drags java-1.8.0-openjdk-headless as dependency. Version-Release number of selected component (if applicable): java-1.8.0-openjdk-headless 1.8.0.60-14.b27.f23 javapackages-tools 4.6.0-6.fc23 How reproducible: always. Steps to Reproduce: 1. dnf install javapackages-tools and look at list of depdencies. 2. dnf install java-1.8.0-openjdk-headless and look at list of dependencies. Actual results: System will have both javapackages-tools and java-1.8.0-openjdk-headless. Expected results: System with all the dependencies for offline java installation. Additional info:
This is intentional. Is there any particular problem this is causing?
Cyclic dependencies are possible traps. So one of us should remove requires. What javapackages-tools needs jvm for? And seocndly.. What does I need i for in openjdk. # Require javapackages-tools for ownership of /usr/lib/jvm/ Requires: javapackages-tools Looks still valid, but cant it be done better?
(In reply to Mikolaj Izdebski from comment #1) > This is intentional. Is there any particular problem this is causing? With cyclic dependency like this it is not possible any more to have a machine prepared for offline testing of locally built jdk packages. It was possible before.
After further investigation I see that this is indeed a bug. javapackages-tools doesn't have explicit requires on java-headless in spec file, but this requirement was generated automatically by our dependency generators. I will fix this by filtering generated dependencies.
Fixed in javapackages-tools-4.6.0-7
javapackages-tools-4.6.0-7.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-b301f0d4e7
javapackages-tools-4.6.0-7.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update javapackages-tools' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-b301f0d4e7
javapackages-tools-4.6.0-7.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
I believe that this bug is fixed in javapackages-tools-4.6.0-7, which is available in updates for Fedora 23, so I am closing this bug now. The build containing the fix can be found at Koji: http://koji.fedoraproject.org/koji/buildinfo?buildID=692872