Can't boot after power cut while updating Fedora (39 to 40)

Sadly after rebooting I’m still greeted with the same “Something has gone wrong” screen. dnf repos are set on the Fedora 40. I retried it all just to be sure:

  1. Login into the console.
  2. sudo dnf remove --duplicate --releasever=40 (the releasever is probably useless since we track the right repos, but whatever). Returns Nothing to do.
  3. sudo dnf check all --releasever=40. Returns nothing.
  4. sudo dnf remove --duplicates --releasever 40 --setopt protected_packages=. Returns Nothing to do.
  5. sudo dnf distro-sync --refresh --releasever 40 --setopt protected_packages=. Returns Nothing to do.

What should I try now?