I am struggling to install Homebrew so that I can then install the dfu-programmer to update my teletype firmware.
I get the following message:
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Error: Failure while executing; git clone https://github.com/Homebrew/homebrew-core /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core exited with 128.
Error: Failure while executing; /usr/local/bin/brew tap homebrew/core exited with 1.
Failed during: /usr/local/bin/brew update --force
I get about 33% of the way through transferring the objects before the clone fails. My broadband speed seems fine.
Has anyone else encountered this issue and managed to resolve it? Your help would be appreciated.
Try downloading any big file to confirm your network isn’t at fault. In fact, you can just try to clone the git repo in question manually and see if that works. This looks like a limited network. I had issues like these on trains and in hotels in the past.
Oh man I had some nightmare like this with either npm or homebrew on El Capitan, too. +1 for Xcode Command Line Tools. To @RPLKTR’s point, can you run git --version and brew --version and share what you see?
I successfully installed dfu-programmer with brew with these versions on Catalina 10.15.4.
Thanks for the responses - I updated the Command Line Tools last night but this didn’t help - will try your other suggestions later today and report back
That stackoverflow link helped. Added github to the list of trusted sites in my firewall and everything downloaded - have the dfu-programmer now and teletype updated to latest firmware - thanks for you help
hey @tyleretters - i’m having some trouble installing homebrew in order to update the firmware on my crow…wondering if you could help me out with this?
if homebrew doesn’t install on a machine with older MacOS versions (@claasp was forced back to El Cap), try installing MacPorts instead. since all you need is dfu-util, either works.
once MacPorts is installed, execute this command in Terminal:
port install libusb dfu-util
if it complains about priveleges, try:
sudo port install libusb dfu-util
and enter your password.
successful install looks like this
sudo port install libusb dfu-util
Password:
—> Fetching archive for libusb
—> Attempting to fetch libusb-1.0.24_0.darwin_15.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/libusb
—> Attempting to fetch libusb-1.0.24_0.darwin_15.x86_64.tbz2.rmd160 from https://ywg.ca.packages.macports.org/mirror/macports/packages/libusb
—> Installing libusb @1.0.24_0
—> Activating libusb @1.0.24_0
—> Cleaning libusb
—> Computing dependencies for dfu-util
—> Fetching archive for dfu-util
—> Attempting to fetch dfu-util-0.9_0.darwin_15.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/dfu-util
—> Attempting to fetch dfu-util-0.9_0.darwin_15.x86_64.tbz2.rmd160 from https://ywg.ca.packages.macports.org/mirror/macports/packages/dfu-util
—> Installing dfu-util @0.9_0
—> Activating dfu-util @0.9_0
—> Cleaning dfu-util
—> Updating database of binaries
—> Updating database of C++ stdlib usage
—> Scanning binaries for linking errors
—> No broken files found.
—> No broken ports found.
then you should be able to reflash your crow! ^^ caw caw!