sudo -i dnf clean all dnf upgrade --refresh dnf install dnf-plugin-system-upgrade dnf system-upgrade download --releasever=$(($(rpm -E %fedora) + 1)) --setopt='module_platform_id=platform:f$(($(rpm -E %fedora) + 1))' --allowerasing dnf system-upgrade reboot