Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Old issue curl fails to verify download? #1183

Open
lyons88 opened this issue Jul 7, 2024 · 3 comments
Open

Old issue curl fails to verify download? #1183

lyons88 opened this issue Jul 7, 2024 · 3 comments

Comments

@lyons88
Copy link

lyons88 commented Jul 7, 2024

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
Copy link
Contributor

sevan commented Jul 7, 2024

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

@ClassANetwork
Copy link

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

I am not getting the same sha1 hash on my PowerMac G5 running Leopard

xv8s-power-mac-g5:Desktop xv8$ curl -Lk -O http://archive.org/download/tigerbrew/portable-curl-7.58.0.tiger_g3.bottle.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 11834  100 11834    0     0  10433      0  0:00:01  0:00:01 --:--:--  445k
xv8s-power-mac-g5:Desktop xv8$ openssl sha1 portable-curl-7.58.0.tiger_g3.bottle.tar.gz
SHA1(portable-curl-7.58.0.tiger_g3.bottle.tar.gz)= 7d3392b81cf45ef07ce8da4c83e2b200eb4f9d6c

@mistydemeo
Copy link
Owner

mistydemeo commented Oct 13, 2024

Sorry, archive.org is down at the moment. None of the prebuilt binaries will work for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants