Attempting to uninstall a package. How to I get around "The operation would result in removing the following protected packages: dnf"?
I have been playing around with Python in the last few days on Fedora 28. I installed python3-pip as follows:
sudo dnf install python3-pip
I now want to uninstall it. When I execute:
sudo dnf remove python3-pip
I get the following message:
Error:
Problem: The operation would result in removing the following protected packages: dnf
This does not happen with other packages, so I assume the problem is with the python3-pip package. How do I delete it?
Please report this in the Fedora bug tracker.
There is a related bug report (1516427) which I just found.