I found this thread: Server in semi-broken state after dnf system-upgrade - #3 by vwbusguy from some years ago. I tried the fix in the posted GitHub link (Remove duplicates after a botched dnf upgrade · GitHub) and now distro-sync seems to be working.
2 Likes