This guide is a quick copy/paste on how to update Fedora Lunux.
Update the Latest Packages
sudo dnf upgrade --refresh
Download the System Update
sudo dnf system-upgrade download --releasever={LATEST RELEASE}
Note: releasever can be changed easily, and incremented by 2
Reboot
sudo dnf system-upgrade reboot
(Optional) Further Updates
sudo dnf install rpmconf && sudo rpmconf -a && sudo dnf install remove-retired-packages
remove-retired-packages
Clean and remove duplicate packages
sudo dnf repoquery --duplicates && sudo dnf remove --duplicates && sudo dnf autoremove
Clean gpg keys
sudo dnf install clean-rpm-gpg-pubkey
sudo clean-rpm-gpg-pubkey
Clean symlinks
Step 1:
sudo dnf install symlinks && sudo symlinks -r /usr | grep dangling
Step 2:
sudo symlinks -r -d /usr