-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WSL 2 - Update-Help is not working. #13167
Comments
Updating the language from
Let me know if that works for you. |
@adityapatwardhan Oh interesting. Sounds like something we need to document. How do you do that? Is that a WSL setting or an OS setting? Is it the same for all distributions? |
So, I'm assuming this is a Linux environment variable?
Updated:
It works! Thanks... But, to whom this need to be addressed to? |
@adityapatwardhan @sdwheeler Is this something we should fix or the work around is by design for Linux? If it's the latter, then can one of you please open a doc issue? |
@daxian-dbw @adityapatwardhan Does this affect all distributions? Is this specific to WSL? We can document this but, depending on the scope of the issue, we might want to fix this. |
Can we have pwsh treat |
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 |
Cool @adityapatwardhan Thanks for the workarounds! |
This issue has been marked as answered and has not had any activity for 1 day. It has been closed for housekeeping purposes. |
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
Expected behavior
Display update progress and, to at least, ends with some errors.
Actual behavior
No progress, and it ends quickly. No update was performed.
Environment data
Windows 10 Version 2004 (OS Build 19041.329)
The text was updated successfully, but these errors were encountered: