无法从 CentOS 8 卸载 Podman
Cannot uninstall Podman from CentOS 8
我在 CentOS 8 机器上安装了 podman。我想切换到 Docker,所以需要先删除 podman,因为它与 Docker 冲突。
但是,当我尝试删除它时,我得到了这个:
Error:
Problem: The operation would result in removing the following protected packages: dnf, systemd, systemd-udev
试过这个但没有用:
https://www.ibm.com/docs/en/eam/4.2?topic=questions-troubleshooting-tips#uninstall_podman
buildah 还没有安装
尝试了 yum 和 dnf - 不行
通过添加 --allowerasing
解决
sudo yum install docker-ce.x86_64 --allowerasing
我在 CentOS 8 机器上安装了 podman。我想切换到 Docker,所以需要先删除 podman,因为它与 Docker 冲突。 但是,当我尝试删除它时,我得到了这个:
Error:
Problem: The operation would result in removing the following protected packages: dnf, systemd, systemd-udev
试过这个但没有用: https://www.ibm.com/docs/en/eam/4.2?topic=questions-troubleshooting-tips#uninstall_podman
buildah 还没有安装
尝试了 yum 和 dnf - 不行
通过添加 --allowerasing
解决sudo yum install docker-ce.x86_64 --allowerasing