Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Handle a too old system Git on OS X 10.8 and below #3837
Needed for GitHub since:
Feb 27, 2018
1 check passed
referenced this pull request
Mar 8, 2018
I'm on Mac OS X 10.7.5 Lion. Shouldn't I be able to install homebrew from scratch and have it resolve the SSL issue? Or do I need to manually uninstall the current broken homebrew first?
`$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Press RETURN to continue or any other key to abort
My most recent attempt to install from scratch:
The errors above suggest deleting /Users/taa/Library/Caches/Homebrew/portable-ruby-2.3.3.leopard_64.bottle.1.tar.gz but this made no difference.
If I now try @sjackman's suggestion:
I don't know enough about git to even formulate a solution for consideration as a PR.
So... trying to install Homebrew on Mac OS X 10.7 fails in a very spectacular way ever since Weak cryptographic standards removed | The GitHub Blog.
git clone --depth=1 git://github.com/Homebrew/brew /usr/local/Homebrew git clone --depth=1 git://github.com/Homebrew/homebrew-core /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core ln -s ../Homebrew/bin/brew /usr/local/bin/ export HOMEBREW_FORCE_BREWED_CURL=1 brew update
I'm making progress... I think... no SSL errors this time....
How do I fix the
I decided to create a virtual machine with a fresh install of Lion 10.7.5, XCode 4.6.3 and its command line tools. This means it is a clean slate with the Apple-provided git 22.214.171.124 (Apple Git-37), perl 5.12.3, and curl 7.21.4.
Results are here, scroll down to the highlighted lines starting at line 79: https://pastebin.com/hK5Ugm00
TL;DR: curl SSL errors accessing:
Does this mean
It looks as though the
We need to change the
As a workaround, you can download this file by some other method, and place it at the location indicated by…
❯❯❯ brew --cache -s curl ~/Library/Caches/Homebrew/curl-7.59.0.tar.bz2