Closed awdeorio closed 1 year ago
One thing that's slightly imprecise in what I originally said - it's not that Ubuntu 22.04 itself is incompatible, but that with it you'll end up with a newer version of gdb that is incompatible.
I'm not sure if we'll end up with many (or any?) students who can't upgrade to WSL 2. If they're on a very old laptop, can't update to a new enough windows version, or can't enable virtualization. I haven't met any students where that's the case.
The best approach is likely to:
wsl -l -v
run from PowerShell shows version 2).Agreed!
Just putting this here to record it somewhere. The deficit in WSL 1 is tracked here. Not clear when/if it will be fixed.
WSL 1 and Ubuntu 22.04 are incompatible. This is from @jamesjuett :
The intractable VS code debugging issue with "failed to set controlling terminal" is solved (sort of)! The problem manifests when students have WSL 1 rather than WSL 2. There's an incompatibility with newer versions of Ubuntu (I think - I'm assuming that's why we're starting to see it this term but haven't before). Some details here: https://github.com/microsoft/WSL/issues/8356
The fix is to upgrade to WSL 2. There are two ways to do this.
We should add a sanity check and require this.