Reboot during F38->F39 upgrade, how to fix it?


Hi all! I decided to upgrade to F39 today, I followed the usuall process:
sudo dnf upgrade --refresh
sudo dnf system-upgrade download --releasever=39
sudo dnf system-upgrade reboot
The upgrade process got stuck at ‘Starting initrd-parse-etc. …nts Configured in the Real Root…’
I waited for a ~15 minutes, but nothing… so I pressed the reboot button.

I tried system-upgrade reboot again, but nothing… system-upgrade download… Error: Problem: The operation would result in removing the following protected packages: setup

hostnamectl says I have Fedora 39 :confused: I think my system is now a mix of 38&39 packages

sudo nvim /etc/dnf/protected.d/setup.conf
I deleted the ‘setup’ line
sudo dnf offline-distrosync --releasever=39 download
sudo dnf offline-distrosync --releasever=39 reboot
Then it looks fine now