WSL 2 - Update-Help is not working. #13167
This is only happening in Windows Subsystem for Linux (WSL) when executing the cmdlet Update-Help is not doing anything.
Below sample is running "Update-Help" in Ubuntu 18.04 VM:
In WSL, it doesn't give any errors, and quickly return to the prompt:
Steps to reproduce
sudo pwsh Update-Help -Force
Display update progress and, to at least, ends with some errors.
No progress, and it ends quickly. No update was performed.
Windows 10 Version 2004 (OS Build 19041.329)
The text was updated successfully, but these errors were encountered:
So, I'm assuming this is a Linux environment variable?
Thanks... But, to whom this need to be addressed to?
To my knowledge, the default locale on Ubuntu 18.04 changed to C.UTF.8. We do not have help content for that locale, hence we fail to get help. We explicitly set the locale to en-us in our docker images hence it works over there.
We should definitely document this. Another workaround that might work is to use