Why are brew update and brew upgrade so unreliable nowadays? Download errors and timeouts all the time for several weeks now. #4447
Unanswered
ChrisJ60
asked this question in
Everyday usage
Replies: 1 comment 7 replies
-
Try downloading those files outside of brew using your 24x7 monitoring system to see if it might be an issue with your connection to GitHub. Additionally, since those domains are hosted by GitHub you might want to check https://www.githubstatus.com/ if you're having issues. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Output of
brew config
Output of
brew doctor
Description of issue
I've been using HomeBrew for several years, mostly on Intel Macs but more recently (past year or so) also on Linux and ARM Macs. I have always found it easy to use and very reliable but these past few months things seem to have degraded a lot. I am now finding that 'brew update' and 'brew upgrade' are:
a) Very slow in general
b) Regularly fail (as in 90%+ of the time).
The failures are mainly:
Error: Failed to download https://formulae.brew.sh/api/formula.jws.json
or
Error: Failed to download https://formulae.brew.sh/api/cask.jws.json
But I do frequently often see errors with downloading items from https://ghcr.io and https://pkg-containers.githubusercontent.com
I'm sure someone will say that this is just problem with my Internet connection, but I really do not think so. M
I have a high grade connection which is monitored 24x7 for all kinds of issues. I do sometimes see transient issues (very infrequently) but otherwise the connection is rock solid and is in use 24x365. if there were some general issues then I would know about them.
I hope that someone somewhere can help figure out thsi issue as currently HomeBrew is almost unusable for me, which is a severe problem...
Beta Was this translation helpful? Give feedback.
All reactions