JK:SMail aici$ brew update 
fatal: unable to access 'https://github.com/Homebrew/homebrew-core/': LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54 
fatal: unable to access 'https://github.com/Homebrew/homebrew-cask/':LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54 
Error: Fetching/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core failed! Fetching
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask failed! = = > Downloading https://homebrew.bintray.com/bottles-portable-ruby/portable-ruby -- 2.6.3. Giant. Bottle. Tar. Gz Already Downloaded: / Users/aici/Library/Caches/Homebrew/portable - ruby -- 2.6.3. Giant. Bottle. Tar. Gz Error: Checksum mismatch. Expected: ab81211a2052ccaa6d050741c433b728d0641523d8742eef23a5b450811e5104 Actual:f6e315e67716e0bd3e1f35157bb6b362c2bed7eaf417616e8662ae3db32440bf Archive: / Users/aici/Library/Caches/Homebrew/portable - ruby -- 2.6.3. Giant. Bottle. Tar. Gz To retry the an incomplete download, remove the file above. Error: Failed to install vendor Ruby.Copy the code

background

Recently, when updating the software library, I found that the above error was reported by using the 'brew update' command. The specific cause is speculated to be the reason that the installation package of Ruby was not completely downloaded due to the wall, and then the system did not delete the mechanism, so it was stuck there and reported an error.Copy the code

The solution

Delete ` Archive: the path of files rm ` behind - rf/Users/aici/Library/Caches/Homebrew/portable - ruby -- 2.6.3. Giant. Bottle. The tar. Gz and then reused Brew update if that still doesn't work consider setting up a global ladderCopy the code