Mickey Cohen
Mickey Cohen

Reputation: 1287

Cannot uninstall Podman from CentOS 8

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

Upvotes: 3

Views: 11173

Answers (1)

Mickey Cohen
Mickey Cohen

Reputation: 1287

solved by adding --allowerasing

sudo yum install docker-ce.x86_64 --allowerasing

Upvotes: 6

Related Questions