First: this is an upgrade of a USB system and I have an image of f26 before the
upgrade to f27 and I will redo it in full. So no disaster, yet I want to understand
how the upgrade process recovers from such a failure (if at all).
I followed the usual process
# dnf update (and such)
# dnf system-upgrade download --releasever=27
# dnf system-upgrade reboot
but due to an oversight I turned off the power to the laptop (where the USB was
installed) so overnight it shut down.
This morning I tried to restart it. A reboot brought up a f26 kernel (though the
desktop background looked like f27). dnf thinks this is still a f26 system.
I tried
# dnf system-upgrade reboot
which started an upgrade, though with less packages listed. However, when the main
Upgrade/Install phase ended the post scripts were ran only for the recently listed
packages.
On a reboot I still was on f26, sort of, but some packages claimed to be installed
twice (e.g. dnf lists both f26 and f27).
Trying
# dnf system-upgrade download --releasever=27
failed saying some critical packages (e.g. 'dnf') will be removed.
What is the correct way to complete the upgrade? (I kept an image of the failure).
TIA
--
Eyal Lebedinsky (fedora(a)eyal.emu.id.au)