Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

SHA2 mismatch with font-droid-sans-mono #117

Closed
oryband opened this issue Mar 29, 2014 · 3 comments · Fixed by #129
Closed

SHA2 mismatch with font-droid-sans-mono #117

oryband opened this issue Mar 29, 2014 · 3 comments · Fixed by #129

Comments

@oryband
Copy link

oryband commented Mar 29, 2014

~ brew cask install font-droid-sans-mono
==> Checking out https://github.com/w0ng/googlefontdirectory/trunk/fonts/droidsansm
Error: SHA2 mismatch
Expected: 84143210681b91f6c4de1fb25b5d865038c4c5f5881de4fc88d955c5006198ad
Actual: b69ca066aec4aca475b1b69250a83964d77739cccc17be367505230d315aa440
Archive: /Library/Caches/Homebrew/font-droid-sans-mono--svn-1.00.tar
To retry an incomplete download, remove the file above.

Nothing more need to be said. :)

@oryband oryband changed the title Sha-mismatch with font-droid-sans-mono SHA2 mismatch with font-droid-sans-mono Mar 29, 2014
@rolandwalker rolandwalker self-assigned this Mar 29, 2014
@rolandwalker
Copy link
Contributor

Is it possible that this was caused by a temporary outage of GitHub's SVN download feature?

We got two similar reports this morning; but currently I cannot duplicate either one.

To test downloading a fresh copy of the font, try

$ brew cask cleanup && brew cask audit font-droid-sans-mono --download

@oryband
Copy link
Author

oryband commented Apr 2, 2014

This is the result:

~ rm /Library/Caches/Homebrew/font-droid-sans-mono--svn-1.00.tar
~ brew cask cleanup && brew cask audit font-droid-sans-mono --download
==> Removing dead symlinks
/Library/Caches/Homebrew/Casks/font-droid-sans-mono--svn-1.00.tar
==> Removing cached downloads
==> Checking out https://github.com/w0ng/googlefontdirectory/trunk/fonts/droidsansm
audit for font-droid-sans-mono: failed
 - download not possible: SHA2 mismatch
Expected: 84143210681b91f6c4de1fb25b5d865038c4c5f5881de4fc88d955c5006198ad
Actual: b69ca066aec4aca475b1b69250a83964d77739cccc17be367505230d315aa440
Archive: /Library/Caches/Homebrew/font-droid-sans-mono--svn-1.00.tar
To retry an incomplete download, remove the file above.
Error: audit failed

Notice I manually rmed the file as requested before executing cleanup and audit.

@rolandwalker
Copy link
Contributor

Thanks for the followup! Over in #118, we discovered that a similar problem was due to the user running a case-sensitive filesystem. Is that the case for you as well?

rolandwalker added a commit to rolandwalker/homebrew-fonts that referenced this issue May 7, 2014
pending a fix for the underlying issue.
closes Homebrew#117
closes Homebrew#118
@lock lock bot locked as resolved and limited conversation to collaborators May 6, 2018
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.

2 participants