mistydemeo / tigerbrew

Experimental fork of homebrew for PPC Macs on Tiger
Other
536 stars 129 forks source link

Old issue curl fails to verify download? #1183

Open lyons88 opened 2 months ago

lyons88 commented 2 months ago

How do I fix this:

ruby /Users/jam/install.txt ==> This script will install: /usr/local/bin/brew /usr/local/Library/... /usr/local/share/man/man1/brew.1 ==> The following directories will be made group writable: /usr/local/. /usr/local/bin /usr/local/lib /usr/local/sbin /usr/local/share ==> The following directories will have their group set to admin: /usr/local/. /usr/local/bin /usr/local/lib /usr/local/sbin /usr/local/share

Press ENTER to continue or any other key to abort ==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/. /usr/local/bin /usr/local/lib /usr/local/sbin /usr/local/share Password: ==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/. /usr/local/bin /usr/local/lib /usr/local/sbin /usr/local/share ==> Downloading and Installing Homebrew... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 134k 0 134k 0 0 11473 0 --:--:-- 0:00:12 --:--:-- 36227 Unable to verify the integrity of the downloaded curl utility. Downloaded file's SHA1 is 75ab3eaf01bf4b3140d27c9946986a68f5aa2f58 but the expected hash is 5bbd587871bca54637437359555618a4b1a612ec.

sevan commented 2 months ago

the file it is meant to be downloading is 1.9MB, your progress bar indicates it downloaded something 134k which explains why the checksum is different. Could be that there was an issue on the other end.

Can you download http://archive.org/download/tigerbrew/portable-curl-7.58.0.tiger_g3.bottle.tar.gz by running

curl -Lk -O http://archive.org/download/tigerbrew/portable-curl-7.58.0.tiger_g3.bottle.tar.gz

and then checking its SHA1 checksum

openssl sha1 portable-curl-7.58.0.tiger_g3.bottle.tar.gz

It should be 5bbd587871bca54637437359555618a4b1a612ec