无法从 CentOS 8 卸载 Podman
我在 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 - 否 去
I have podman installed on a CentOS 8 machine. I want to switch to Docker so need to remove podman first because it conflicts with Docker.
However, when I try to remove it I get this:
Error:
Problem: The operation would result in removing the following protected packages: dnf, systemd, systemd-udev
Tried this and it didn't work:
https://www.ibm.com/docs/en/eam/4.2?topic=questions-troubleshooting-tips#uninstall_podman
buildah is not even installed
Tried with both yum and dnf - no go
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
通过添加 --allowerasing 解决
solved by adding --allowerasing