brew install gitea fails with Error: SHA256 mismatch #131

Closed
opened 2021-06-09 01:33:10 +00:00 by stevehartwell · 1 comment

As per instructions in README:

  1. brew tap gitea/tap https://gitea.com/gitea/homebrew-gitea -- OK.
  2. brew install gitea -- fails with SHA256 mismatch.
  3. brew install tea -- fails with SHA256 mismatch.
  4. brew install changelog -- fails with curl: (22) The requested URL returned error: 403

MacBook Pro, macOS 11.4

Transcript:


sh@sh-mbp downloads % brew tap gitea/tap https://gitea.com/gitea/homebrew-gitea
==> Tapping gitea/tap
Cloning into '/Volumes/NoSave/Homebrew/Library/Taps/gitea/homebrew-tap'...
remote: Enumerating objects: 382, done.
remote: Counting objects: 100% (382/382), done.
remote: Compressing objects: 100% (256/256), done.
remote: Total 382 (delta 232), reused 224 (delta 125), pack-reused 0
Receiving objects: 100% (382/382), 72.49 KiB | 399.00 KiB/s, done.
Resolving deltas: 100% (232/232), done.
Tapped 3 formulae (23 files, 106.3KB).
sh@sh-mbp downloads % brew install gitea tea changelog
==> Installing gitea from gitea/tap
==> Downloading https://dl.gitea.io/gitea/1.14.2/gitea-1.14.2-darwin-10.12-amd64
==> Downloading from https://storage.gitea.io/gitea-artifacts/gitea/1.14.2/gitea-1.14.2-darwin-10.12-amd64?X-Amz-Algorith
######################################################################## 100.0%
Error: SHA256 mismatch
Expected: <a
Actual: 4525719f18dc08458a45d9d5cea920323b26161e8416658f3a1bd5d0f66e4c84
File: /Volumes/NoSave/Homebrew/Caches/downloads/af1eee81d11c593ebb6a624be2c4b7f27b06b449f66540679cc994407f74479f--aws4_request&X-Amz-Date=20210609T011420Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=97b547c71c999b72148b50ad2f046711bb8ab2d31c87821d7c06df55ae716698
To retry an incomplete download, remove the file above.
sh@sh-mbp downloads % brew install tea
==> Installing tea from gitea/tap
==> Downloading https://dl.gitea.io/tea/0.7.0/tea-0.7.0-darwin-amd64
Already downloaded: /Volumes/NoSave/Homebrew/Caches/downloads/981727e7b3e08041e9c21265277a1e0b7f0359f9ed6ff9b0b56234e4b7f46952--aws4_request&X-Amz-Date=20210609T010911Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=a503d4f88bdc8b888b9c1addde0949101f1954013b17985005071214341b9056
Error: SHA256 mismatch
Expected: <a
Actual: 20a350fb8583ee7e33f133d73caf74a789805995e999e6ebd8fd09c0383e0158
File: /Volumes/NoSave/Homebrew/Caches/downloads/981727e7b3e08041e9c21265277a1e0b7f0359f9ed6ff9b0b56234e4b7f46952--aws4_request&X-Amz-Date=20210609T010911Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=a503d4f88bdc8b888b9c1addde0949101f1954013b17985005071214341b9056
To retry an incomplete download, remove the file above.
sh@sh-mbp downloads % brew install changelog
==> Installing changelog from gitea/tap
==> Downloading https://dl.gitea.io/changelog-tool/0.1.0/changelog-0.1.0-darwin-10.6-amd64
##O#- #
curl: (22) The requested URL returned error: 403
Error: Failed to download resource "changelog"
Download failed: https://dl.gitea.io/changelog-tool/0.1.0/changelog-0.1.0-darwin-10.6-amd64
sh@sh-mbp downloads %

As per instructions in README: 1. brew tap gitea/tap https://gitea.com/gitea/homebrew-gitea -- OK. 2. brew install gitea -- fails with SHA256 mismatch. 3. brew install tea -- fails with SHA256 mismatch. 4. brew install changelog -- fails with curl: (22) The requested URL returned error: 403 MacBook Pro, macOS 11.4 Transcript: ----- sh@sh-mbp downloads % brew tap gitea/tap https://gitea.com/gitea/homebrew-gitea ==> Tapping gitea/tap Cloning into '/Volumes/NoSave/Homebrew/Library/Taps/gitea/homebrew-tap'... remote: Enumerating objects: 382, done. remote: Counting objects: 100% (382/382), done. remote: Compressing objects: 100% (256/256), done. remote: Total 382 (delta 232), reused 224 (delta 125), pack-reused 0 Receiving objects: 100% (382/382), 72.49 KiB | 399.00 KiB/s, done. Resolving deltas: 100% (232/232), done. Tapped 3 formulae (23 files, 106.3KB). sh@sh-mbp downloads % brew install gitea tea changelog ==> Installing gitea from gitea/tap ==> Downloading https://dl.gitea.io/gitea/1.14.2/gitea-1.14.2-darwin-10.12-amd64 ==> Downloading from https://storage.gitea.io/gitea-artifacts/gitea/1.14.2/gitea-1.14.2-darwin-10.12-amd64?X-Amz-Algorith ######################################################################## 100.0% Error: SHA256 mismatch Expected: <a Actual: 4525719f18dc08458a45d9d5cea920323b26161e8416658f3a1bd5d0f66e4c84 File: /Volumes/NoSave/Homebrew/Caches/downloads/af1eee81d11c593ebb6a624be2c4b7f27b06b449f66540679cc994407f74479f--aws4_request&X-Amz-Date=20210609T011420Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=97b547c71c999b72148b50ad2f046711bb8ab2d31c87821d7c06df55ae716698 To retry an incomplete download, remove the file above. sh@sh-mbp downloads % brew install tea ==> Installing tea from gitea/tap ==> Downloading https://dl.gitea.io/tea/0.7.0/tea-0.7.0-darwin-amd64 Already downloaded: /Volumes/NoSave/Homebrew/Caches/downloads/981727e7b3e08041e9c21265277a1e0b7f0359f9ed6ff9b0b56234e4b7f46952--aws4_request&X-Amz-Date=20210609T010911Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=a503d4f88bdc8b888b9c1addde0949101f1954013b17985005071214341b9056 Error: SHA256 mismatch Expected: <a Actual: 20a350fb8583ee7e33f133d73caf74a789805995e999e6ebd8fd09c0383e0158 File: /Volumes/NoSave/Homebrew/Caches/downloads/981727e7b3e08041e9c21265277a1e0b7f0359f9ed6ff9b0b56234e4b7f46952--aws4_request&X-Amz-Date=20210609T010911Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=a503d4f88bdc8b888b9c1addde0949101f1954013b17985005071214341b9056 To retry an incomplete download, remove the file above. sh@sh-mbp downloads % brew install changelog ==> Installing changelog from gitea/tap ==> Downloading https://dl.gitea.io/changelog-tool/0.1.0/changelog-0.1.0-darwin-10.6-amd64 ##O#- # curl: (22) The requested URL returned error: 403 Error: Failed to download resource "changelog" Download failed: https://dl.gitea.io/changelog-tool/0.1.0/changelog-0.1.0-darwin-10.6-amd64 sh@sh-mbp downloads %

I have the same issue

I have the same issue
noerw added the
kind/bug
label 2021-06-18 14:29:52 +00:00
Sign in to join this conversation.
No description provided.