Closed gbstan closed 2 years ago
Please follow the instructions at https://docs.brew.sh/Common-Issues#cask---checksum-does-not-match.
I have tried but it doesn't work. I don't know what I am doing wrong.
brew bump-cask-pr --version 5.3.3 spyder
Running brew update --auto-update
...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask-fonts).
==> Installing 'bundler' gem
Fetching bundler-1.17.3.gem
Fetching gem metadata from https://rubygems.org/.........
Fetching zeitwerk 2.6.0
Fetching concurrent-ruby 1.1.10
Fetching minitest 5.16.3
Installing minitest 5.16.3
Installing zeitwerk 2.6.0
Installing concurrent-ruby 1.1.10
Fetching public_suffix 5.0.0
Fetching ast 2.4.2
Installing ast 2.4.2
Fetching bindata 2.4.10
Installing public_suffix 5.0.0
Fetching msgpack 1.5.6
Installing bindata 2.4.10
Using bundler 1.17.3
Fetching byebug 11.1.3
Fetching connection_pool 2.2.5
Installing msgpack 1.5.6 with native extensions
Installing byebug 11.1.3 with native extensions
Installing connection_pool 2.2.5
Fetching did_you_mean 1.6.1
Installing did_you_mean 1.6.1
Fetching diff-lcs 1.5.0
Installing diff-lcs 1.5.0
Fetching docile 1.4.0
Installing docile 1.4.0
Fetching unf_ext 0.0.8.2
Installing unf_ext 0.0.8.2 with native extensions
Fetching regexp_parser 2.5.0
Installing regexp_parser 2.5.0
Fetching hana 1.3.7
Installing hana 1.3.7
Fetching hpricot 0.8.6
Installing hpricot 0.8.6 with native extensions
Fetching json 2.6.2
Installing json 2.6.2 with native extensions
Fetching uri_template 0.7.0
Installing uri_template 0.7.0
Fetching mime-types-data 3.2022.0105
Installing mime-types-data 3.2022.0105
Fetching net-http-digest_auth 1.4.1
Installing net-http-digest_auth 1.4.1
Fetching mini_portile2 2.8.0
Installing mini_portile2 2.8.0
Fetching racc 1.6.0
Installing racc 1.6.0 with native extensions
Fetching rubyntlm 0.6.3
Installing rubyntlm 0.6.3
Fetching webrick 1.7.0
Installing webrick 1.7.0
Fetching webrobots 0.1.2
Installing webrobots 0.1.2
Fetching mustache 1.1.1
Installing mustache 1.1.1
Fetching parallel 1.22.1
Installing parallel 1.22.1
Fetching plist 3.6.0
Installing plist 3.6.0
Fetching rack 2.2.4
Installing rack 2.2.4
Fetching rainbow 3.1.1
Installing rainbow 3.1.1
Fetching rdiscount 2.2.0.2
Fetching rexml 3.2.5
Installing rexml 3.2.5
Installing rdiscount 2.2.0.2 with native extensions
Fetching rspec-support 3.11.0
Installing rspec-support 3.11.0
Fetching sorbet-runtime 0.5.10175
Installing sorbet-runtime 0.5.10175
Fetching ruby-progressbar 1.11.0
Installing ruby-progressbar 1.11.0
Fetching unicode-display_width 2.2.0
Installing unicode-display_width 2.2.0
Fetching ruby-macho 3.0.0
Installing ruby-macho 3.0.0
Fetching simplecov-html 0.12.3
Installing simplecov-html 0.12.3
Fetching simplecov_json_formatter 0.1.4
Installing simplecov_json_formatter 0.1.4
Fetching warning 1.3.0
Installing warning 1.3.0
Fetching parser 3.1.2.1
Installing parser 3.1.2.1
Fetching i18n 1.12.0
Installing i18n 1.12.0
Fetching tzinfo 2.0.5
Installing tzinfo 2.0.5
Fetching addressable 2.8.1
Installing addressable 2.8.1
Fetching elftools 1.1.3
Installing elftools 1.1.3
Fetching net-http-persistent 4.0.1
Installing net-http-persistent 4.0.1
Fetching bootsnap 1.13.0
Installing bootsnap 1.13.0 with native extensions
Fetching ecma-re-validator 0.4.0
Installing ecma-re-validator 0.4.0
Fetching unf 0.1.4
Installing unf 0.1.4
Fetching mime-types 3.4.1
Fetching parallel_tests 3.12.0
Installing mime-types 3.4.1
Installing parallel_tests 3.12.0
Fetching nokogiri 1.13.8 (x86_64-darwin)
Fetching rspec-core 3.11.0
Installing rspec-core 3.11.0
Fetching rspec-expectations 3.11.0
Fetching rspec-mocks 3.11.1
Installing rspec-expectations 3.11.0
Fetching rspec-sorbet 1.8.3
Installing rspec-mocks 3.11.1
Fetching simplecov 0.21.2
Installing rspec-sorbet 1.8.3
Installing simplecov 0.21.2
Installing nokogiri 1.13.8 (x86_64-darwin)
Fetching rubocop-ast 1.21.0
Fetching activesupport 6.1.6.1
Installing rubocop-ast 1.21.0
Installing activesupport 6.1.6.1
Fetching patchelf 1.3.0
Installing patchelf 1.3.0
Fetching ronn 0.7.3
Installing ronn 0.7.3
Fetching json_schemer 0.2.21
Installing json_schemer 0.2.21
Fetching domain_name 0.5.20190701
Fetching rspec-github 2.3.1
Fetching rspec-retry 0.6.2
Installing rspec-github 2.3.1
Installing rspec-retry 0.6.2
Installing domain_name 0.5.20190701
Fetching rspec_junit_formatter 0.5.1
Fetching rspec-its 1.3.0
Fetching rspec 3.11.0
Installing rspec_junit_formatter 0.5.1
Fetching simplecov-cobertura 2.1.0
Installing rspec-its 1.3.0
Installing rspec 3.11.0
Fetching rubocop 1.35.1
Fetching http-cookie 1.0.5
Installing simplecov-cobertura 2.1.0
Fetching rspec-wait 0.0.9
Installing http-cookie 1.0.5
Installing rubocop 1.35.1
Fetching mechanize 2.8.5
Installing rspec-wait 0.0.9
Installing mechanize 2.8.5
Fetching rubocop-rspec 2.12.1
Fetching rubocop-performance 1.14.3
Fetching rubocop-rails 2.15.2
Installing rubocop-performance 1.14.3
Installing rubocop-rspec 2.12.1
Installing rubocop-rails 2.15.2
Fetching rubocop-sorbet 0.6.11
Installing rubocop-sorbet 0.6.11
Bundle complete! 34 Gemfile dependencies, 78 gems now installed.
Bundled gems are installed into ../../usr/local/Homebrew/Library/Homebrew/vendor/bundle
==> Downloading https://github.com/spyder-ide/spyder/releases/download/v5.3.3/Spyder.dmg
Already downloaded: /Users/[REDACTED]/Library/Caches/Homebrew/downloads/199decd6dbbe0d57f377aefaeb59cc39b4ceac3489fb7e2afef0689ed2381c63--Spyder.dmg
==> replace /version\s+["']5.3.3["']/m with "version \"5.3.3\""
==> replace /["']076e3195ae2d0bde78002be3f00421a0217023e7075245cbfa4b0f121159a30b["']/m with "\"d5f79908f181469a5ba90fb2572b7f56e1
audit for spyder: passed
1 file inspected, no offenses detected Error: Unable to fork: Not Found!
Try creating a GitHub token and then do
export HOMEBREW_GITHUB_API_TOKEN=your_token_here
before doing brew bump-cask-pr
.
You also don't need to set HOMEBREW_GITHUB_API_TOKEN
if you cache your credentials with git
. That's a bit nicer, since you can store the token in your Keychain instead of an environment variable.
I did set the HOMEBREW_GITHUB_API_TOKEN already, so the error must be from somewhere else?
Do I need to execute the command from a specific directory?
brew bump-cask-pr --version 5.3.3 spyder --sha256 d5f79908f181469a5ba90fb2572b7f56e1ba95c7f78ea05d4992e08ed68d654a
Running brew update --auto-update
...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> replace /version\s+["']5.3.3["']/m with "version \"5.3.3\"" ==> replace /["']076e3195ae2d0bde78002be3f00421a0217023e7075245cbfa4b0f121159a30b["']/m with "\"d5f79908f181469a5ba90fb2572b7f56e1ba95c7f78ea05d4992e08ed68d654a\"" audit for spyder: passed
1 file inspected, no offenses detected Error: Unable to fork: Not Found!
Ok, try forking this repository first through the GitHub UI before doing bump-cask-pr
.
Alternatively, you could also open a pull request manually with the checksum update. You can find your local copy of the repository at
brew --repository homebrew/cask
I am not familiar with forking of a repository or doing a pull request manually, unfortunately. I just wanted to help out by mentioning this SHA256 error. Can you help with making the request to update the SHA256 please?
Here's how to fork a repository on GitHub: https://docs.github.com/en/get-started/quickstart/fork-a-repo#forking-a-repository
I'm on mobile at the moment, but I can try to take a look at it tomorrow when I get back to my computer.
Thank you so much for your help. It would be great if you could have a look tomorrow.
Have you tried forking this repository? It's just a button that says "fork".
Thanks. Didn’t try yet. Might try tomorrow when I get a chance.
Verification
--force
.brew update-reset && brew update
and retried my command.brew doctor
, fixed as many issues as possible and retried my command.Description of issue
Cannot install or upgrade Spyder via homebrew, even after deleting the downloaded file from ~/Library/Caches/Homebrew/downloads/
Command that failed
brew install --cask spyder
Output of command with
--verbose --debug
Output of
brew doctor --verbose
Output of
brew tap