Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Casks/sublime-text.rb: fix sha265sum #152315

Merged
merged 1 commit into from Aug 4, 2023
Merged

Casks/sublime-text.rb: fix sha265sum #152315

merged 1 commit into from Aug 4, 2023

Conversation

nlhomme
Copy link
Contributor

@nlhomme nlhomme commented Aug 4, 2023

Important: Do not tick a checkbox if you haven’t performed its action. Honesty is indispensable for a smooth review process.

In the following questions <cask> is the token of the cask you're submitting.

After making any changes to a cask, existing or new, verify:

Description

Since commit 66911a0, it's impossible to upgrade Sublime Text due to a sha256 mismatch:

nilho@M09  brew update; brew upgrade; brew upgrade --cask --greedy
Installing from the API is now the default behaviour!
You can save space and time by running:
  brew untap homebrew/core
  brew untap homebrew/cask
Already up-to-date.
==> `brew cleanup` has not been run in the last 30 days, running now...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
Error: Permission denied @ apply2files - /usr/local/lib/docker/cli-plugins
==> Upgrading 1 outdated package:
sublime-text 4143 -> 4152
==> Upgrading sublime-text
==> Downloading https://download.sublimetext.com/sublime_text_build_4152_mac.zip
################################################################################################################################################# 100.0%
==> Purging files for version 4152 of Cask sublime-text
Error: sublime-text: SHA256 mismatch
Expected: 80b56346818bc36d2c852b10fb1fc1c4f5ade655ae491d1f2adc8c49369a5a76
  Actual: 8ac68a1a9a7b6e733df491acf7958b3575b97ad1da0bd48a85d53cabcb88abd6

Sublime Text v4152 has been downloaded manually to do a sha256sum to verify the actual checksum:

nilho@M09  wget https://download.sublimetext.com/sublime_text_build_4152_mac.zip
--2023-08-04 10:47:16--  https://download.sublimetext.com/sublime_text_build_4152_mac.zip
Résolution de download.sublimetext.com (download.sublimetext.com)… 104.236.0.104
Connexion à download.sublimetext.com (download.sublimetext.com)|104.236.0.104|:443… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 39712633 (38M) [application/zip]
Sauvegarde en : « sublime_text_build_4152_mac.zip »

sublime_text_build_4152_mac.zip       100%[=========================================================================>]  37,87M  2,10MB/s    ds 17s

2023-08-04 10:47:34 (2,22 MB/s) — « sublime_text_build_4152_mac.zip » sauvegardé [39712633/39712633]


nilho@M09  sha256sum sublime_text_build_4152_mac.zip
8ac68a1a9a7b6e733df491acf7958b3575b97ad1da0bd48a85d53cabcb88abd6  sublime_text_build_4152_mac.zip

@miccal miccal merged commit beb5dc2 into Homebrew:master Aug 4, 2023
8 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants