Is your feature request related to a problem? Please describe.
Unable to successfully run MasonUpdate
I was attempting to run :MasonUpdate and was getting somewhat cryptic log messaging despite :checkhealth mason appearing okay, and showing wget was working (other than it telling me to run :masonupdate).
Log file message just states wget failed with exit code 2 and signal 0
[ERROR Wed 22 May 2024 06:53:46 PM EDT] ...e/nvim/lazy/mason.nvim/lua/mason-core/providers/init.lua:80: Provider "github" "get_latest_release" failed: spawn: wget failed with exit code 2 and signal 0. Usage: wget [OPTION]... [URL]...
Try `wget --help' for more options.
[ERROR Wed 22 May 2024 06:53:46 PM EDT] ...im/lazy/mason.nvim/lua/mason-registry/sources/github.lua:146: Failed to install registry GitHubRegistrySource(repo=mason-org/mason-registry). "Failed to download registry archive."
Describe the solution you'd like
Took me a while to figure out that wget was able to get through corporate firewall fine, but I was using wget 1.14 which seems to not be supported.
from wget website:
exit code 2:
Parse error—for instance, when parsing command-line options, the ‘.wgetrc’ or ‘.netrc’....
After installing wget 1.21.4 I was able to run :masonupdate with no issues
Describe potential alternatives you've considered
No response
Additional context
I am on red hate enterprise 7 so a lot of tools/libraries are quite out of date
I've searched open issues for similar requests
Is your feature request related to a problem? Please describe.
Unable to successfully run MasonUpdate
I was attempting to run :MasonUpdate and was getting somewhat cryptic log messaging despite :checkhealth mason appearing okay, and showing wget was working (other than it telling me to run :masonupdate).
Log file message just states wget failed with exit code 2 and signal 0
Describe the solution you'd like
Took me a while to figure out that wget was able to get through corporate firewall fine, but I was using wget 1.14 which seems to not be supported.
from wget website: exit code 2: Parse error—for instance, when parsing command-line options, the ‘.wgetrc’ or ‘.netrc’....
After installing wget 1.21.4 I was able to run :masonupdate with no issues
Describe potential alternatives you've considered
No response
Additional context
I am on red hate enterprise 7 so a lot of tools/libraries are quite out of date