What causes 'Error: Another active Homebrew update process is already in progress.' repeatedly? #5478
-
Output of
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
|
I got the same symptoms. |
Beta Was this translation helpful? Give feedback.
-
|
As @konnano advised, it is most likely a hung git process and should resolve itself once you kill the process. |
Beta Was this translation helpful? Give feedback.
-
|
Wanted to post a follow up: One thing that I believe could have been causing my issue, was this particular
|
Beta Was this translation helpful? Give feedback.
-
|
To disable fsmonitor for brew taps in particular: ( prefix=$(brew --prefix)
echo "$prefix/Homebrew"
brew tap | while IFS= read -r tap; do echo "$prefix/Homebrew/Library/Taps/$tap"; done ) |
while IFS= read -r repo; do git -C "$repo" config core.fsmonitor false; doneTested on zsh and bash. Should be safe vs spaces in directory names. That said, I reckon Brew should configure such itself. |
Beta Was this translation helpful? Give feedback.
I got the same symptoms.
When I checked with the top -u command, git was running in the background.
I waited for a while, and when git was terminated, it was cured.