NoIn past days I experienced the following problem
"dnf install" exits if there is a non existing package in the requested
packages list"
https://bugzilla.redhat.com/show_bug.cgi?id=1268606
Do you have "strict=True" in/etc/dnf/dnf.conf?