Updating homebrew
I received the following error:
Error:
homebrew-core is a shallow clone.
To `brew update`, first run:
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
This restriction has been made on GitHub's request because updating shallow
clones is an extremely expensive operation due to the tree layout and traffic of
Homebrew/homebrew-core and Homebrew/homebrew-cask. We don't do this for you
automatically to avoid repeatedly performing an expensive unshallow operation in
CI systems (which should instead be fixed to not use shallow clones).
Sorry for the inconvenience!
Are you trying to install the Homebrew or run a brew update? In my case the former worked fine but the later I get the same error. While running git -C "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core" fetch --unshallow I get the error: error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal: protocol error: bad pack header
Thanks, Alexandre