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

Error: SHA256 mismatch tcl-tk--tcllib-1.17.tar.gz for Postgresql 9.5 #25

Closed
tvmaly opened this issue May 25, 2016 · 3 comments
Closed

Comments

@tvmaly
Copy link

tvmaly commented May 25, 2016

==> Downloading from https://codeload.github.com/tcltk/tcllib/tar.gz/tcllib_1_17

################################################################## 100.0%

Error: SHA256 mismatch
Expected: 1653165693125e86e8b77929c22210fb50a9b46271c321ac292cd5497cdde2d2
Actual: 95c676130ce2fdb00e8a6f79c4fea9e79d071063783a61db9274647920d97a03
Archive: /Library/Caches/Homebrew/tcl-tk--tcllib-1.17.tar.gz
To retry an incomplete download, remove the file above.

I tried deleting the cached file and re-running the install but it gives the same error.

Does the hash need to be updated or is there a different problem?

@petere
Copy link
Owner

petere commented Jun 6, 2016

This may be a problem in the tcl-tk formula, in which case the issue should be reported there.

@yas375
Copy link

yas375 commented Oct 3, 2016

I'm getting similar problem but with tcllib 1.18 when trying to install postgresql 9.1

~  brew tap petere/postgresql
➜  ~  brew install postgresql-9.1
==> Installing postgresql-9.1 from petere/postgresql
==> Installing dependencies for petere/postgresql/postgresql-9.1: homebrew/dupes/tcl-tk
==> Installing petere/postgresql/postgresql-9.1 dependency: homebrew/dupes/tcl-tk
==> Using the sandbox
==> Downloading https://downloads.sourceforge.net/project/tcl/Tcl/8.6.6/tcl8.6.6-src.tar.gz
Already downloaded: /Users/yas/Library/Caches/Homebrew/tcl-tk-8.6.6.tar.gz
==> ./configure --prefix=/usr/local/Cellar/tcl-tk/8.6.6 --mandir=/usr/local/Cellar/tcl-tk/8.6.6/share/man --enable-64bit
==> make
==> make install
==> make install-private-headers
==> Downloading https://downloads.sourceforge.net/project/tcl/Tcl/8.6.6/tk8.6.6-src.tar.gz
Already downloaded: /Users/yas/Library/Caches/Homebrew/tcl-tk--tk-8.6.6.tar.gz
==> ./configure --prefix=/usr/local/Cellar/tcl-tk/8.6.6 --mandir=/usr/local/Cellar/tcl-tk/8.6.6/share/man --with-tcl=/usr/local/Cellar/tcl-tk
==> make TK_LIBRARY=/usr/local/Cellar/tcl-tk/8.6.6/lib
==> make install
==> make install-private-headers
==> Downloading https://github.com/tcltk/tcllib/archive/tcllib_1_18.tar.gz
Already downloaded: /Users/yas/Library/Caches/Homebrew/tcl-tk--tcllib-1.18.tar.gz
Error: SHA256 mismatch
Expected: bcf0ba7656e3a99ffa5fc0ce0f4a95616530979539bddb8da43903b82983603f
Actual: 6a87881f545afb69c1130f60984b5d35cc22f1593b0835b982871c188fde3de8
Archive: /Users/yas/Library/Caches/Homebrew/tcl-tk--tcllib-1.18.tar.gz
To retry an incomplete download, remove the file above.
➜  ~

I wasn't sure what to do and how to fix and found this issue. Do you think the problem can be similar to https://github.com/Homebrew/homebrew-dupes/pull/512 and should be fixed by updating this line? By any change someone can suggest how I can verify it locally before submitting a PR there?

@yas375
Copy link

yas375 commented Oct 3, 2016

Ended up by copying the content of that formula into a gist, fixing SHA there and installing from the gist. It did work!
Also have submitted a PR there: https://github.com/Homebrew/homebrew-dupes/pull/659

@petere petere closed this as completed Nov 16, 2016
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

3 participants