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

SHA2 mismatch on gdal-framework install #6330

Closed
nsonnad opened this issue Sep 25, 2014 · 6 comments · Fixed by #8441
Closed

SHA2 mismatch on gdal-framework install #6330

nsonnad opened this issue Sep 25, 2014 · 6 comments · Fixed by #8441

Comments

@nsonnad
Copy link

nsonnad commented Sep 25, 2014

Hello. I'm attempting to install QGIS. brew cask install qgis tells me I need gdal-framework

And I get the following error.

❯ brew cask install gdal-framework                                                                                                                                               <<<
==> Downloading http://www.kyngchaos.com/files/software/frameworks/GDAL_Complete-1.11.dmg
######################################################################## 100.0%
==> Note: running "brew update" may fix checksum errors
Error: SHA2 mismatch
Expected: 8611b80e9e0f2a1ef87ff11429418fbf5996efc6a8041a3e096c3408dcceaf14
Actual: d8aa6d59236a75519e94a764dfc71d3122c8e88fa4f99072046c3a8a0bfb4124
Archive: /Library/Caches/Homebrew/gdal-framework-1.11.dmg
To retry an incomplete download, remove the file above.

Running brew update does not fix the issue. I am on Mavericks, 10.9.2. Thanks.

@tapeinosyne
Copy link
Contributor

Thanks for reporting the mismatch. It was fixed in #6335.

@guictx
Copy link

guictx commented Nov 4, 2014

Checksum changed again:

○ → brew cask install gdal-framework matplotlib
==> Downloading http://www.kyngchaos.com/files/software/frameworks/GDAL_Complete-1.11.dmg
######################################################################## 100,0%
==> Note: running "brew update" may fix checksum errors
Error: SHA2 mismatch
Expected: d8aa6d59236a75519e94a764dfc71d3122c8e88fa4f99072046c3a8a0bfb4124
Actual: b5b3a62ead9e2bdff9b85eccf42dbc628f384f89eff33fe150933ddaa841d25b
Archive: /Library/Caches/Homebrew/gdal-framework-1.11.dmg
To retry an incomplete download, remove the file above.

@tapeinosyne
Copy link
Contributor

They seem to be updating the distribution at the same URL for patch versions. We will change the cask accordingly, but it will still be prone to breaking.

@pipian
Copy link

pipian commented Dec 13, 2014

And sure enough it's changed again.

$ brew cask install gdal-framework matplotlib
==> Downloading http://www.kyngchaos.com/files/software/frameworks/GDAL_Complete
######################################################################## 100.0%
==> Note: running "brew update" may fix checksum errors
Error: SHA2 mismatch
Expected: b5b3a62ead9e2bdff9b85eccf42dbc628f384f89eff33fe150933ddaa841d25b
Actual: 5da0f059bdc6e93cc11165eaf66896879b63922c4c37e09eed642dd9c402b5fb
Archive: /Library/Caches/Homebrew/gdal-framework-1.11.1-1.dmg
To retry an incomplete download, remove the file above.

@lukehorvat
Copy link
Contributor

@ndr-qef Given that the SHA has changed again, can I submit a PR to fix it? Or did you have another strategy in mind for this cask?

@tapeinosyne
Copy link
Contributor

Thanks, @lukehorvat, but updating the sha256 value will be unnecessary. We have reintroduced the option to skip checksums even in versioned Casks, which is a better solution for gdal-framework.

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

Successfully merging a pull request may close this issue.

5 participants