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

[email protected]: hash check failed #6316

Closed
howardsun-dev opened this issue Nov 10, 2024 · 2 comments
Closed

[email protected]: hash check failed #6316

howardsun-dev opened this issue Nov 10, 2024 · 2 comments

Comments

@howardsun-dev
Copy link

Download: ======+====+===========+=======================================================
Download: f0ada3|OK | 10MiB/s|C:/Users/xxxxx/scoop/cache/fzf#0.56.1#0fc1d42.zip
Download: Status Legend:
Download: (OK):download completed.
Get-Content: C:\Users\xxxxx\scoop\apps\scoop\current\lib\core.ps1:1376
Line |
1376 | return Get-Content $file -AsByteStream -TotalCount 8
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Operation did not complete successfully because the file contains a virus or potentially unwanted software. :
| 'C:\Users\xxxxx\scoop\cache\fzf#0.56.1#0fc1d42.zip'
Checking hash of fzf-0.56.1-windows_amd64.zip ... Get-FileHash: C:\Users\xxxxx\scoop\apps\scoop\current\lib\install.ps1:634
Line |
634 | $actual = (Get-FileHash -Path $file -Algorithm $algorithm).Hash.T …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Operation did not complete successfully because the file contains a virus or potentially unwanted software. :
| 'C:\Users\xxxxx\scoop\cache\fzf#0.56.1#0fc1d42.zip'
InvalidOperation: C:\Users\xxxxx\scoop\apps\scoop\current\lib\install.ps1:634
Line |
634 | $actual = (Get-FileHash -Path $file -Algorithm $algorithm).Hash.T …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| You cannot call a method on a null-valued expression.
Get-Content: C:\Users\xxxxx\scoop\apps\scoop\current\lib\core.ps1:1376
Line |
1376 | return Get-Content $file -AsByteStream -TotalCount 8
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Operation did not complete successfully because the file contains a virus or potentially unwanted software. :
| 'C:\Users\xxxxx\scoop\cache\fzf#0.56.1#0fc1d42.zip'
ERROR Hash check failed!
App: main/fzf
URL: https://github.com/junegunn/fzf/releases/download/v0.56.1/fzf-0.56.1-windows_amd64.zip
First bytes:
Expected: a5d41f2b247192b42d78f49383ec2c87b0ff287d17a66386751f56e3371f0fcc
Actual:

Copy link
Contributor

Cannot reproduce

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

Hash mismatch could be caused by these factors:

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

@gauravkanoongo
Copy link

It is reproducible on my multiple machines; my scoop is updated and I'm using development branch.

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