I am running Windows 11 with WSL2 with Debian - mostly for software development purposes.While I'm having the same setup on 2 different machines, one of them runs an old version of Debian
$ cat /etc/os-releasePRETTY_NAME="Debian GNU/Linux 9 (stretch)"NAME="Debian GNU/Linux"VERSION_ID="9"VERSION="9 (stretch)"VERSION_CODENAME=stretchID=debianHOME_URL="https://www.debian.org/"SUPPORT_URL="https://www.debian.org/support"BUG_REPORT_URL="https://bugs.debian.org/"
As a consequence, it is running stuff like GIT 2.11 (where 2.19 is the minimum necessary) etc.
I've tried updating using the few things I was aware. Including Microsoft Store or running sudo apt-get update && sudo apt-get dist-upgrade
. None of them worked.
Is there any other way to update the distro version without removing it and creating a new distro?