The following is summarised from https://docs.fedoraproject.org/en-US/quick-docs/upgrading-fedora-offline/
- Install dependencies:
sudo dnf install clean-rpm-gpg-pubkey dracut-config-rescue remove-retired-packages rpmconf symlinks- Most of these will be used after the upgrade step next.
dracut-config-rescuewill automate updating the rescue kernel in the future during adnf upgrade.
- Update existing system
sudo dnf upgrade --refresh
sudo reboot