I want to remove dnf installed packages using pip but when I type:
dnf info package
$ dnf info package the package manager wrongly shows that the package is installed. I alternatively tried removing the package using dnf remove package but it wants to remove dozens of dependencies.
I have looked at dnf mark install and dnf mark remove but metadata about these commands are not clear.
How do I mark system packages that have been uninstalled by pip so that dnf also knows they have been removed?