如何使用 microdnf 包管理器删除受保护的包?
当运行 docker 容器almalinux/9-minimal
(或redhat/ubi9-minimal
)时
podman run -it --rm almalinux/9-minimal
和容器内部
microdnf install -y dnf && microdnf remove -y dnf
后一个命令失败并显示
error: Could not depsolve transaction; 1 problem detected:
Problem: The operation would result in removing the following protected packages: dnf