yk4to
(Yuta Kato)
October 29, 2023, 12:19am
1
Bug report
Today I found that I am unable to install v5.6.0 with Homebrew.
It is showing the error SHA256 mismatch
, probably due to the zip file being changed in-place.
I guess this can be solved by submitting a PR with the correct hash value to homebrew-cask , so I’d be glad if someone in the know could do it.
$ brew upgrade inkdrop
==> Upgrading 1 outdated package:
inkdrop 5.5.3 -> 5.6.0
==> Upgrading inkdrop
==> Downloading https://d3ip0rje8grhnl.cloudfront.net/v5.6.0/Inkdrop-5.6.0-x64-M
######################################################################### 100.0%
==> Purging files for version 5.6.0 of Cask inkdrop
Error: inkdrop: SHA256 mismatch
Expected: 9611778fa7318efbfe3528eb8f060b4beced89039e6096ef67e6bf0f2a296a5c
Actual: 5f48c4e2ba7e38d0e0efb6b5f8e4bbb133ce0bab488faee47d71b4bef153ea7a
File: /Users/<myname>/Library/Caches/Homebrew/downloads/0a6632adfdd9462dfa373667667e04686fc9499bf8301c951a38e1378bac9e5c--Inkdrop-5.6.0-x64-Mac.zip
To retry an incomplete download, remove the file above.
Environment
Platform: macOS
Platform version: Ventura 13.6 (Intel)
App Version: Homebrew 4.1.17-39-g700c7de
How to reproduce
Run brew install inkdrop
or brew upgrade inkdrop
craftzdog
(Takuya Matsuyama)
October 30, 2023, 12:18am
2
Hi Luke,
Thanks for the report.
I don’t maintain the Homebrew formula of Inkdrop. Maybe someone has been doing that but I don’t know who it is.
I gues you can open a pull request to update the formula:
Can you please try it?
Looks like him:
Homebrew:master
← krehel:bump-inkdrop-5.6.0
opened 01:18PM - 23 Oct 23 UTC
Created with `brew bump-cask-pr`.
yk4to
(Yuta Kato)
November 3, 2023, 12:46pm
3
Thanks for the advice, Takuya-san!
I’ve just sent the PR.
I also checked the ARM one, but it seems that only the Intel one has changed the hash value.
Homebrew:master
← fus1ondev:fix-inkdrop-sha256
opened 12:35PM - 03 Nov 23 UTC
**Important:** *Do not tick a checkbox if you haven’t performed its action.* Hon… esty is indispensable for a smooth review process.
_In the following questions `<cask>` is the token of the cask you're submitting._
After making any changes to a cask, existing or new, verify:
- [x] The submission is for [a stable version](https://docs.brew.sh/Acceptable-Casks#stable-versions) or [documented exception](https://docs.brew.sh/Acceptable-Casks#but-there-is-no-stable-version).
- [x] `brew audit --cask --online <cask>` is error-free.
- [x] `brew style --fix <cask>` reports no offenses.
Additionally, **if adding a new cask**:
- [ ] Named the cask according to the [token reference](https://docs.brew.sh/Cask-Cookbook#token-reference).
- [ ] Checked the cask was not [already refused](https://github.com/Homebrew/homebrew-cask/search?q=is%3Aclosed&type=Issues).
- [ ] Checked the cask is submitted to [the correct repo](https://docs.brew.sh/Acceptable-Casks#finding-a-home-for-your-cask).
- [ ] `brew audit --new-cask <cask>` worked successfully.
- [ ] `brew install --cask <cask>` worked successfully.
- [ ] `brew uninstall --cask <cask>` worked successfully.
1 Like
yk4to
(Yuta Kato)
November 3, 2023, 11:01pm
4
It was merged
I’ve confirmed that I can install it successfully.
1 Like
craftzdog
(Takuya Matsuyama)
November 6, 2023, 1:55am
5
Hi Luke,
Thanks for updating the formula That is super helpful for our community!
Cheers
1 Like