F29 upgrade to F30 hangs

Try to remove the duplicates and repeat the check:

sudo dnf remove --duplicates
sudo dnf remove $(dnf repoquery --installed --latest-limit=-1 -q --exclude=kernel\*)
sudo dnf check all