Hacker News new | ask | show | jobs
by mjevans 3353 days ago
I was going to make another comment, but just found out while searching that WSL is //supposed// to be based on Ubuntu (20)16.04 now (instead of 14.04) I guess the next time I work with those systems I'll have to run down some upgrade / re-install directions.

I wonder if that will fix the issue where I was unable to mv folders around the c:\ drive within the /mnt/c FS. (It more or less locked up to the point that I had to restart to clear the issue.)

2 comments

It's mentioned in the release notes blog post: https://blogs.msdn.microsoft.com/commandline/2017/04/11/wind...

You can do the traditional Ubuntu do-release-upgrade to upgrade your install, or the suggestion is to replace and reinstall (from PowerShell or cmd):

    lxrun /uninstall /full /y
    lxrun /install
I copied my few dotfiles to a safe place and did that.
FWIW, I haven't had any issues moving files before or after upgrading from 14.04 -> 16.04. I use Git in WSL, but interact with the files in both Windows and WSL without any special considerations.
With the updated WSL version out I probably won't ever run across the issue again. I can't remember the exact circumstances, I may have had the folder open in a window or something (thinking of it, Windows doesn't let you rename files out from under processes, which may have been the reason).

However I do recall that trying to ctrl+c kill it didn't work. I don't recall what else I had/hadn't tried; I was rather busy at the time and couldn't stop to make a proper bug report.

All that mattered to me was that it completely stalled for no transparent reason and my best option was to just not even try to do real file management from the WSL environment.