Created
May 2, 2024 19:58
-
-
Save earentir/3ed9b8d076d08c8a56a8670652931055 to your computer and use it in GitHub Desktop.
Upgrade Fedora in WSL
This file contains 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
sudo dnf upgrade --refresh | |
sudo dnf install dnf-plugin-system-upgrade | |
sudo dnf system-upgrade download --releasever=40 | |
## Tell DNF no reboots are needed ever | |
export DNF_SYSTEM_UPGRADE_NO_REBOOT=1 | |
## triger update | |
sudo -E dnf system-upgrade reboot | |
##Upgrade | |
sudo dnf system-upgrade upgrade | |
##Cleanup | |
dnf system-upgrade clean |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment