Issue: Homebrew install

Found the below error

error: RPC failed; curl 56 LibreSSL SSL_read: Operation timed out, errno 60
error: 58263 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
Failed during: git fetch --force origin refs/heads/master:refs/remotes/origin/master

Solution:
1. Run
git config --global http.postBuffer 524288000
2. Uninstall
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
3. Re-install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

>> NEXT
- Run these three commands in your terminal to add Homebrew to your PATH:
echo '# Set PATH, MANPATH, etc., for Homebrew.' >> /<YOUR PATH>/.zprofile
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /<YOUR PATH>/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
- Run brew help to get started
- Further documentation:
https://docs.brew.sh

Popular posts from this blog

A Guide to Intuitive Living

Silencing the Sound Pollution - How to Keep the Music Going Without Upsetting Your Neighbors?

Exploring the Characteristics and Traits of Sagittarius in Vedic Astrology