Skip to content

[email protected]: hash check failed #4552

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

Closed
DrayChou opened this issue Mar 13, 2023 · 2 comments
Closed

[email protected]: hash check failed #4552

DrayChou opened this issue Mar 13, 2023 · 2 comments

Comments

@DrayChou
Copy link

Updating 'frp' (0.46.1 -> 0.48.0)
Downloading new version
Starting download with aria2 ...
Download: Download Results:
Download: gid   |stat|avg speed  |path/URI
Download: ======+====+===========+=======================================================
Download: bac746|OK  |    22MiB/s|D:/bin/scoop/cache/frp#0.48.0#https_github.com_fatedier_frp_releases_download_v0.48.0_frp_0.48.0_windows_amd64.zip
Download: Status Legend:
Download: (OK):download completed.
Get-Content: D:\bin\scoop\apps\scoop\current\lib\core.ps1:1173
Line |
1173 |          return Get-Content $file -AsByteStream -TotalCount 8
     |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | 无法成功完成操作,因为文件包含病毒或潜在的垃圾软件。 :
     | 'D:\bin\scoop\cache\frp#0.48.0#https_github.com_fatedier_frp_releases_download_v0.48.0_frp_0.48.0_windows_amd64.zip'

Checking hash of frp_0.48.0_windows_amd64.zip ... Get-FileHash: D:\bin\scoop\apps\scoop\current\lib\install.ps1:674
Line |
 674 |      $actual = (Get-FileHash -Path $file -Algorithm $algorithm).Hash.T …
     |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | 无法成功完成操作,因为文件包含病毒或潜在的垃圾软件。 :
     | 'D:\bin\scoop\cache\frp#0.48.0#https_github.com_fatedier_frp_releases_download_v0.48.0_frp_0.48.0_windows_amd64.zip'

InvalidOperation: D:\bin\scoop\apps\scoop\current\lib\install.ps1:674
Line |
 674 |      $actual = (Get-FileHash -Path $file -Algorithm $algorithm).Hash.T …
     |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | You cannot call a method on a null-valued expression.

Get-Content: D:\bin\scoop\apps\scoop\current\lib\core.ps1:1173
Line |
1173 |          return Get-Content $file -AsByteStream -TotalCount 8
     |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | 无法成功完成操作,因为文件包含病毒或潜在的垃圾软件。 :
     | 'D:\bin\scoop\cache\frp#0.48.0#https_github.com_fatedier_frp_releases_download_v0.48.0_frp_0.48.0_windows_amd64.zip'

ERROR Hash check failed!
App:         main/frp
URL:         https://github.com/fatedier/frp/releases/download/v0.48.0/frp_0.48.0_windows_amd64.zip
First bytes:
Expected:    8ad8905b9296f3c26632f3bfc66302bc082b62295f6bbbb5b78e31d1e6649f26
Actual:

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/ScoopInstaller/Main/issues/new?title=frp%400.48.0%3a+hash+check+failed
@github-actions
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 frp; and update/reinstall application

Hash mismatch could be caused by these factors:

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

@groutoutlook
Copy link

For anyone come by in future, remember to whitelist it in Windows Defender.

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