Last active
April 26, 2026 22:28
-
-
Save jkeam/839a3dcdd2b22af0c5e784ca24623816 to your computer and use it in GitHub Desktop.
Upgrade Fedora
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # update | |
| sudo dnf upgrade --refresh | |
| sudo dnf system-upgrade download --releasever=44 --allowerasing | |
| sudo dnf5 offline reboot | |
| # cleanup | |
| sudo dnf5 offline clean | |
| sudo dnf install remove-retired-packages | |
| # remove-retired-packages | |
| sudo symlinks -r /usr | grep dangling | |
| sudo symlinks -r -d /usr | |
| # Docs | |
| # https://docs.fedoraproject.org/en-US/quick-docs/upgrading-fedora-offline/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment