microdnfを使用して保護されたパッケージを削除する方法

microdnfを使用して保護されたパッケージを削除する方法

microdnfパッケージマネージャを使用して保護されたパッケージを削除する方法は?

ドッカーコンテナを実行するとき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

ベストアンサー1

おすすめ記事