Running my WSL2 on Ubuntu 22.04 Jammy Jellyfish, and wanted to update to 24.04 Noble Numbat.
- Make sure we’re up to date
 sudo apt update && sudo apt full-upgrade
- Close terminal, quit Docker Desktop
- In PowerShell:
 wsl -l -v(make sure we know what our Linux is called, probably Ubuntu)
 wsl --terminate Ubuntu(took a few tries / waiting a bit, make sure it says stopped)
- Open a terminal, which will restart Ubuntu
 sudo vim /etc/update-manager/release-upgrades(make sure it’s set tonormalhere until Noble LTS is out, in which case it should belts)
- sudo do-release-upgrade. This takes a long time.
- Make sure to “reboot” your Ubuntu after this.
- Now go into the /etc/apt/sources.list.ddirectory and update all your sources here. Usually this involves changing the version numbers and release names in various places (e.g.22.04to24.04andjammytonoble)
- sudo apt update && sudo apt upgradeto catch your 3rd party repository updates.
