<div dir="ltr"><div>Thanks again Petter.</div><div><br></div><div>I found a work-around.  Someone suggested it at <<a href="https://superuser.com/a/1922859">https://superuser.com/a/1922859</a>>.  However, due to corporate policy (no network for WSL-2), I had to modify it a bit:</div><div><br></div><div>1. Open Debian VM.  It is WSL-1</div><div>2. Run `sudo apt-get update`.  WSL-1 is allowed on the network</div><div>3. Close Debian VM</div><div>4. In Windoze cmd prompt run `wsl --set-version Debian 2`.  Convert to WSL-2</div><div>5. Open Debian VM.  It is WSL-2</div><div>6. Run `sudo apt-get upgrade`.  WSL-2 file locks work</div><div>7. Close Debian VM</div><div>8. In Windoze cmd prompt run `wsl --set-version Debian 1`.  Convert to WSL-1</div><div>9. Open Debian VM.  It is WSL-1 again</div></div>