Homebrew / homebrew-cask

🍻 A CLI workflow for the administration of macOS applications distributed as binaries
https://brew.sh
BSD 2-Clause "Simplified" License
20.93k stars 10.71k forks source link

Checksum for Cask tagspaces 3.5.4 REALLY does not match #85226

Closed galinette-34 closed 4 years ago

galinette-34 commented 4 years ago

General troubleshooting steps

Description of issue

Wrong checksum or URL in: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/tagspaces.rb

The expected sha256 checksum 70a7310eedaa0dae35fd872e1849e8f59cf6e22b35b29e12b629af139ecc716a does not match the downloaded file at given URL: https://github.com/tagspaces/tagspaces/releases/download/v3.5.4/tagspaces-mac-3.5.4.zip

Command that failed

brew cask upgrade tagspaces

Output of command with --force --verbose --debug

==> Upgrading 1 outdated package:
tagspaces 3.5.2 -> 3.5.4
==> Upgrading tagspaces
==> Downloading https://github.com/tagspaces/tagspaces/releases/download/v3.5.4/tagspaces-mac-3.5.4.zip
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/6830846/d7ebfe00-a91b-11ea-86b7-9412070a10aa?X-Amz-Algorithm=AWS4-HMA
######################################################################## 100.0%
==> Verifying SHA-256 checksum for Cask 'tagspaces'.
==> Note: Running `brew update` may fix SHA-256 checksum errors.
==> Purging files for version 3.5.4 of Cask tagspaces
Error: Checksum for Cask 'tagspaces' does not match.
Expected: 70a7310eedaa0dae35fd872e1849e8f59cf6e22b35b29e12b629af139ecc716a
  Actual: 47f3bca6918fd66628f3e4f70aaac4f9daa17b26092d78ce01b9c1a6ea4972d0
    File: /Users/XXXXX/Library/Caches/Homebrew/downloads/b415dfea8896d34b686d9db9b116bf53f900d0f5d5582741dfd18ab3493b5815--tagspaces-mac-3.5.4.zip
To retry an incomplete download, remove the file above.
If the issue persists, visit:
  https://github.com/Homebrew/homebrew-cask/blob/HEAD/doc/reporting_bugs/checksum_does_not_match_error.md

Output of brew cask doctor

==> Homebrew Version
2.4.2-67-g1ff10f9
==> macOS
10.15.5
==> SIP
Enabled
==> Java
1.8.0_252-b09, 1.8.0_241, 1.8.0_201, 1.7.0_181
==> xattr issues
<NONE>
==> Gatekeeper support
Enabled
==> Homebrew Cask Install Location
<NONE>
==> Homebrew Cask Staging Location
/usr/local/Caskroom
==> Homebrew Cask Taps:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask (3604 casks)
/usr/local/Homebrew/Library/Taps/bell-sw/homebrew-liberica (21 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask-drivers (151 casks)
==> Contents of $LOAD_PATH
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ruby-macho-2.2.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-rspec-1.40.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-performance-1.6.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rexml-3.2.4/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/plist-3.5.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mechanize-2.7.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/activesupport-6.0.3.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/zeitwerk-2.3.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/tzinfo-1.2.7/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/thread_safe-0.3.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/i18n-1.8.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/x86_64-darwin14
/usr/local/Homebrew/Library/Homebrew
==> Environment Variables
LC_ALL="en_US.UTF-8"
PATH="/usr/local/Homebrew/Library/Homebrew/shims/scm:/usr/bin:/bin:/usr/sbin:/sbin"
SHELL="/bin/zsh"

Output of brew tap

bell-sw/liberica
homebrew/cask
homebrew/cask-drivers
homebrew/core
homebrew/services
galinette-34 commented 4 years ago
> wget https://github.com/tagspaces/tagspaces/releases/download/v3.5.4/tagspaces-mac-3.5.4.zip

> shasum -a 256 tagspaces-mac-3.5.4.zip
47f3bca6918fd66628f3e4f70aaac4f9daa17b26092d78ce01b9c1a6ea4972d0