Description of problem: In some situations, a clean transaction can be done by simultaneously removing one package and installing another. If these are Fedora packages, they might have Obsoletes/Provides tags to facilitate this, but when installing external packages there might not always be the necessary information in the packages. With yum, such things could be done using the "shell" subcommand. In that, one could ask for one installation, another removal, maybe a third upgrade, and then run all these as one unit. With dnf, there doesn't seem to be any clean way to do this. Additional info: It is of course possible to do this using "rpm --nodeps" or "--force" and similar hacks. But I'm looking for a clean way here.
Hello Goran, this is already possible with --allowerasing. See bug 963137. *** This bug has been marked as a duplicate of bug 963137 ***
I wonder why I missed that one while searching. But anyway, I'll use that the next time. Thanks for the reply!