-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
CentOS Stream 9, CentOS Stream 10
-
None
-
No
-
None
-
rhel-sst-java
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
None
What were you trying to do that didn't work?
Remove java-21-openjdk package.
What is the impact of this issue to you?
Causes problems with testing Java packages.
Please provide the package NVR for which the bug is seen:
java-21-openjdk-21.0.5.0.11-2.el10.1
java-21-openjdk-21.0.5.0.11-2.el9
How reproducible is this bug?
Always.
Steps to reproduce
Reproducible on the container images centos:stream9 and centos:stream10
# dnf -y install java-21-openjdk ... # dnf remove java-21-openjdk Error: Problem: The operation would result in removing the following protected packages: systemd-udev (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Expected results
Even if Java depends on systemd, it should be removable.
Actual results
Java can not be easily removed and dnf does not tell the user how to force the removal.