Fedora Upgrade to 39 Failed

,

I think you have 3rd party repos defined that are causing the problem.
May be related to this topic DNF update problem