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:

buildah is not even installed

Tried with both yum and dnf - no go

1

1 Answer

solved by adding --allowerasing

sudo yum install docker-ce.x86_64 --allowerasing

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

David Miller

David Miller

Executive Financial & Market Analyst

David Miller brings 15 years of experience in global economics, personal finance strategy, and market dynamics. He specializes in turning complex economic trends into actionable insights for everyday readers.

Share this article
Twitter Facebook Pinterest