WSL Ubuntu Simple Upgrade 22.04 to 24.04 LTS
Nov 30, 2024
Although backup is always a good option, I hope this should not and will not break anything.
First check where you are :
lsb_release -a
# Should see 22.04 Jamie
Make sure we go to next LTS
Go to cat this file. If Prompt
is not LTS
you change it to LTS
cat /etc/update-manager/release-upgrades
# You should see something like
...
...
Prompt=LTS
Then go for the upgrade
sudo do-release-upgrade
You use the default option.
Depending on what is running in the background, there is libc
upgrade it will ask you to upgrade it one by one.
When finish you are asked to exit and start with the new LTS !