How a protected package can be removed using microdnf package manager?
When running docker container
almalinux/9-minimal
(or redhat/ubi9-minimal
) like
podman run -it --rm almalinux/9-minimal
and inside the container
microdnf install -y dnf && microdnf remove -y dnf
the latter command fails with
error: Could not depsolve transaction; 1 problem detected:
Problem: The operation would result in removing the following protected packages: dnf
Asked by czerny
(1767 rep)
Oct 14, 2022, 01:36 PM
Last activity: Jul 25, 2025, 10:22 PM
Last activity: Jul 25, 2025, 10:22 PM