olets / zsh-abbr

The zsh manager for auto-expanding abbreviations, inspired by fish. ~13,000 unique cloners as of May '24, 580+ Homebrew installs 6/23-6/24
https://zsh-abbr.olets.dev
Other
510 stars 18 forks source link

SHA256 Mismatch #27

Closed drewauff closed 3 years ago

drewauff commented 3 years ago

Homebrew iTerm2 MacOS Catalina

error is as follows:

==> Installing zsh-abbr from olets/tap ==> Downloading https://github.com/olets/zsh-abbr/releases/download/v4.1.0/v4.1.0.tar.gz ==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/167840485/a486e300-1620-11eb-94a5-c244f3169fc6?X-Amz-Algorithm=AWS4-HMAC-S ######################################################################## 100.0% Error: SHA256 mismatch Expected: 44fafc4a873beb7d6df9065836caa0187acb3965 Actual: bacc95a9c65faf851a3009641885fae0b2ae9a80ade1aa7892e200ee6c399294 Archive: /Users/USERNAMEREDACTED/Library/Caches/Homebrew/downloads/be31d708fcd84ff43e0cdd759ce4234827c06f437125a37858ff364650658ea3--v4.1.0.tar.gz To retry an incomplete download, remove the file above.

I removed the file mbut it makes no difference.

olets commented 3 years ago

Thanks for reporting!

Interesting. 44fafc4 is both what the Homebrew formula file had and the commit at v4.1.0.

I've cut a hotfix release 4.1.1. No changes, just a chance to give Homebrew a fresh SHA. Let me know if that doesn't fix the problem

drewauff commented 3 years ago

==> Installing zsh-abbr from olets/tap ==> Downloading https://github.com/olets/zsh-abbr/releases/download/v4.1.1/v4.1.1.tar.gz

=#=

curl: (22) The requested URL returned error: 404 Not Found Error: Failed to download resource "zsh-abbr" Download failed: https://github.com/olets/zsh-abbr/releases/download/v4.1.1/v4.1.1.tar.gz

olets commented 3 years ago

That one was clearly my fault. Missed uploading the archive. Getting married soon and must have been thinking about that!

Uploaded the file, so your new error should be cleared. But now Homebrew's giving me the SHA mismatch error, with an "actual" of 843b7a90f98d89c4de3821d8386229c0246b1e8ee3df8ecc9defcbf108238cec. Still not sure why that's happening.

Let me know if it works for you, and thanks for bearing with this!

drewauff commented 3 years ago

brew install olets/tap/zsh-abbr ==> Installing zsh-abbr from olets/tap ==> Downloading https://github.com/olets/zsh-abbr/releases/download/v4.1.1/v4.1.1.tar.gz ==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/167840485/5408d180-190f-11eb-80a6-11c63921e2fa?X-Amz-Algorithm=AWS4-HMAC-S ######################################################################## 100.0% Error: SHA256 mismatch Expected: b840b4868f541601430281f53fae305cbecf4706 Actual: 843b7a90f98d89c4de3821d8386229c0246b1e8ee3df8ecc9defcbf108238cec Archive: /Users/drewauff/Library/Caches/Homebrew/downloads/b92d3a91eff3425e5b398b27404a9db4af82b1bd90efbcea2c1cedb60f8bad64--v4.1.1.tar.gz To retry an incomplete download, remove the file above.

drewauff commented 3 years ago

I removed the file and tried again .. same result

olets commented 3 years ago

Deleting didn't help for me either. At least our errors have the same "actual".

drewauff commented 3 years ago

could it be an issue with Homebrew?

olets commented 3 years ago

Fixed. #pre-wedding-brain

drewauff commented 3 years ago

lol.. Awesome, thanks 👍