on f21 I ran: dnf distro-sync --releasever=22 -x python-django it ended up with an error that python-django cannot be installed following approach worked: dnf distro-sync --releasever=22 dnf downgrade --releasever=21 python-django -> deps are ok, no reason why the first use case should fail I think there's something wrong with excluding packages in distro-sync.
Hello. I can only guess since you did not provide the debugging data (https://github.com/rpm-software-management/dnf/wiki/Bug-Reporting#depsolving-problem) but on my machine, python-django strictly requires the same version of python-django-bash-completion. "dnf -x python-django --releasever=22 distro-sync" means: "synchronize everything except python-django" which includes "python-django-bash-completion". But the bash completion package cannot be removed since it is required by the exceptional "python-django". So, your request is contradictory and thus you see the expected behavior. Can I close this as NOTABUG or would you like to transform this report into a request for a new command/switch?
I over-simplified the example, sorry :) I excluded both python-django and python-django-bash-completion. I still think it's a bug.
Created attachment 1002876 [details] debugdata for the same analysis as in https://bugzilla.redhat.com/show_bug.cgi?id=1099342#c20 OK, then I think that this is a duplicate of bug 1099342 since the analysis made in https://bugzilla.redhat.com/show_bug.cgi?id=1099342#c20 had similar results in this case.
*** This bug has been marked as a duplicate of bug 1099342 ***