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

emacs@29.4: hash check failed #13566

Closed
kinthero opened this issue Jul 6, 2024 · 3 comments
Closed

emacs@29.4: hash check failed #13566

kinthero opened this issue Jul 6, 2024 · 3 comments

Comments

@kinthero
Copy link

kinthero commented Jul 6, 2024

I tried to install emacs, but got the hash check error.
❯ scoop install emacs
Installing 'emacs' (29.4) [64bit] from 'extras' bucket
emacs-29.4.zip (150.5 MB) [=============================================================================================================================================================================] 100%
Checking hash of emacs-29.4.zip ... ERROR Hash check failed!
App: extras/emacs
URL: https://ftpmirror.gnu.org/gnu/emacs/windows/emacs-29/emacs-29.4.zip
First bytes: 50 4B 03 04 0A 00 00 00
Expected: ad4cd18e671e0957762b4e5b9ac7520b7ab0632ac41071ffa98afb23b17bacbf
Actual: a4573b62c2b7089d319c0c461d0ed61a597b81ead972c97033ffc0936137e0e0

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/ScoopInstaller/Extras/issues/new?title=emacs%4029.4%3a+hash+check+failed

Copy link
Contributor

github-actions bot commented Jul 6, 2024

Cannot reproduce

Are you sure your scoop is up to date? Clean cache and reinstall
Please run scoop update; scoop cache rm emacs; and update/reinstall application

Hash mismatch could be caused by these factors:

  • Network error
  • Antivirus configuration
  • Blocked site (Great Firewall of China, Corporate restrictions, ...)

@github-actions github-actions bot closed this as completed Jul 6, 2024
@kinthero
Copy link
Author

kinthero commented Jul 6, 2024

I tried the command scoop update; scoop cache rm emacs;, it is still the same.
and I find the origin hash code is here.
it is a4573b62c2b7089d319c0c461d0ed61a597b81ead972c97033ffc0936137e0e0,
rather then ad4cd18e671e0957762b4e5b9ac7520b7ab0632ac41071ffa98afb23b17bacbf, which is in the https://github.com/ScoopInstaller/Extras/blob/master/bucket/emacs.json file, the hash code of this file might not been updated.

aliesbelik added a commit that referenced this issue Jul 6, 2024
@aliesbelik
Copy link
Collaborator

@kinthero Fixed in 7419159, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants