-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
False
-
The singleton jdk module loops over the output of `rpm -qa` and invokes `rpm -e --nodeps` once per matching line. If a stray JDK is going to be removed, this happens to remove the -devel package before the -headless (normally -headless would go first because -devel depends on it). The can result in some empty directories remaining in /usr/lib/jvm.
Rewrite that loop to call `rpm -e --nodeps` once with all the packages to remove so they're in a single transaction.