I have a (very) little help to offer: The problem has nothing to do with homebrew. It is a mismatch between the main file (source?) and its supposed hash. The hash is supposed to verify that the file you're reading has not been tampered with, so there some chance of a malicious action from somebody, but more often, it's just that you haven't got the right hash . . . from the wrong version of your file.
If it were my problem, I'd try to discover the exact version of each, or look around for another source for either the main file or the hash, keeping an eye out for anything looking suspicious.
hth, (another) Andrew
On Thu, Aug 9, 2018 at 11:49 AM, Andrew Sharp <andrew.sharp57@...155...> wrote:
Hello Inkscape Community,
I'm having some trouble installing Inkscape 0.92.2 via Homebrew:
$ brew install caskformula/caskformula/inkscape ==> Installing inkscape from caskformula/caskformula ==> Downloading https://launchpad.net/inkscape/0.92.x/0.92.2/+ download/inkscape-0.92.2.tar.bz2 ==> Downloading from https://launchpadlibrarian. net/332184472/inkscape-0.92.2.tar.bz2 ######################################################################## 100.0% ==> Downloading https://gitlab.com/inkscape/inkscape/commit/ 93ccf03162cd2e46d962822d5507865f3451168c.diff ######################################################################## 100.0% Error: SHA256 mismatch Expected: 1f037cc29cee8e0c60ab4753d4151741c8170e4849129bac68fdc60925eb971d Actual: 7ce4f70f1cb03cd0bab7dc94821a89bf71600bd59c763ae0d78c48f33db3d9ac Archive: /Users/asharp/Library/Caches/Homebrew/inkscape--patch- 1f037cc29cee8e0c60ab4753d4151741c8170e4849129bac68fdc60925eb971d.diff To retry an incomplete download, remove the file above.
I have tried following the instruction to remove the file above:
$ rm /Users/asharp/Library/Caches/Homebrew/inkscape--patch- 1f037cc29cee8e0c60ab4753d4151741c8170e4849129bac68fdc60925eb971d.diff $ brew install caskformula/caskformula/inkscape ==> Installing inkscape from caskformula/caskformula ==> Downloading https://launchpad.net/inkscape/0.92.x/0.92.2/+ download/inkscape-0.92.2.tar.bz2 Already downloaded: /Users/asharp/Library/Caches/ Homebrew/inkscape-0.92.2.tar.bz2 ==> Downloading https://gitlab.com/inkscape/inkscape/commit/ 93ccf03162cd2e46d962822d5507865f3451168c.diff ######################################################################## 100.0% Error: SHA256 mismatch Expected: 1f037cc29cee8e0c60ab4753d4151741c8170e4849129bac68fdc60925eb971d Actual: 7ce4f70f1cb03cd0bab7dc94821a89bf71600bd59c763ae0d78c48f33db3d9ac Archive: /Users/asharp/Library/Caches/Homebrew/inkscape--patch- 1f037cc29cee8e0c60ab4753d4151741c8170e4849129bac68fdc60925eb971d.diff To retry an incomplete download, remove the file above.
Here's my OS information:
macOS High Sierra Version 10.13.6
Any ideas how to fix this problem? Any help is much appreciated.
Best,
Andrew