Replies: 5 comments 1 reply
-
Do you have any output to look at? The report as it is provides very little information about the actual problem. |
Beta Was this translation helpful? Give feedback.
-
Hi SMillerDev WSL2 Ubuntu 22.04.1 LTS from MS Store
OK
OK
here I was going to trying to test several Rubt environments, but had to gave up
|
Beta Was this translation helpful? Give feedback.
-
Thank you for alerting on that. No, I didn't. Or though about it. so after following these quite good explanation about how to do it got a token code - following example not real vi ~/.brew_bashrc and let's see. I find strange at WSL2 downloads and installation takes much more than at a full flag Ubuntu 22.04.1 at a dedicated server or Hyper-V where this curl: (22) The requested URL returned error: 403 had never shown. More, at WSL2 it can take about 6 hours to install this suite, while I remember it did much, much quicker. |
Beta Was this translation helpful? Give feedback.
-
Sorry, even with token after 26 minutes the same error curl: (22) The requested URL returned error: 403 |
Beta Was this translation helpful? Give feedback.
-
please consider the issue solved by Canonical Ubuntu (Preview) published now, with Ubuntu 23.04 (WSL 2) as for WSL 2 Ubuntu 22.04.1 it seems me this distro at MS Store miss something that makes brew not install well, cause after brew install and initiation one finds these curl files: sudo find / -name curl -mount on a Ubuntu 22.04.1 installed from a full ISO at a workstation or VM it has /home/linuxbrew/.linuxbrew/opt/curl so, for a collection of failed steps to get the error, if anyone cares from https://docs.brew.sh/Homebrew-on-Linux#requirements so after a fresh install of WSL 2 Ubuntu 22.04.1 from MS Store then /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" echo export HOMEBREW_FORCE_BREWED_CURL=1 >> ~/.profile echo $PATH $ brew config NOT using these oldies $ brew install curl git Error: curl: Failed to download resource "libidn2" $ brew config | grep curl This can be about certificates also, but with Ubuntu 23.04 working so well, I pass the subject |
Beta Was this translation helpful? Give feedback.
-
Additional Info
Output of
brew config
Output of
brew doctor
Description of issue
About promoting, for learning, at a place, brew as the best software management I've found a curiosity: at a Windows 10 or 11 with version 1 of Windows Subsystem for Linux (WSL) with Ubuntu 22.04.1 LTS from Microsoft Store, brew works. When using version 2 of WSL, default at Windows 11, brew hangs up after a few dependencies, no matter what they are.
oldies as
echo insecure >> ~/.curlrc
HOMEBREW_CURLRC=1 brew reinstall openssl curl
seems to work, some minutes or so, some time, but rarely for long.
This does not happen within a full flag Ubuntu 22.04.1 LTS desktop downloaded from Canonical/Ubuntu used within Hyper-V: all well and fast this way.
The limitation is at WSL2 only.
one can set WSL 1 before install Ubuntu 22.04.1 from MS Store by
wsl --set-default-version 1
use brew for all the installations, and at the end, after wsl --shutdown convert the system with
wsl --set-version Ubuntu-22.04 2
I've read the usual Google finds, as follows, but not helping at here
https://stackoverflow.com/questions/57629010/linuxbrew-curl-certificate-issue
https://stackoverflow.com/questions/45829588/brew-install-fails-curl77-error-setting-certificate-verify
I've used a large dependencies software case:
brew install metview
Here the Hyper-V way may be enough however I wished to let here the experience.
And of course check later for any news :-)
Beta Was this translation helpful? Give feedback.
All reactions