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 #14250

Closed
ackalker opened this issue Oct 19, 2024 · 3 comments
Closed

[email protected]: hash check failed #14250

ackalker opened this issue Oct 19, 2024 · 3 comments

Comments

@ackalker
Copy link

Transcript of console output:

Updating 'ccleaner' (6.28.11297 -> 6.29.11342)
Downloading new version
Starting download with aria2 ...
Download: Download Results:
Download: gid   |stat|avg speed  |path/URI
Download: ======+====+===========+=======================================================
Download: b96a08|OK  |    78MiB/s|C:/Users/xxxxx/scoop/cache/ccleaner#6.29.11342#44855ab.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\ccleaner#6.29.11342#44855ab.zip'
Checking hash of ccsetup629.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\ccleaner#6.29.11342#44855ab.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\ccleaner#6.29.11342#44855ab.zip'
ERROR Hash check failed!
App:         extras/ccleaner
URL:         https://download.ccleaner.com/portable/ccsetup629.zip
First bytes:
Expected:    3223923938daa84c17ba06e36e7864788e3609cc217642714b559d80452911c2
Actual:

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=ccleaner%406.29.11342%3a+hash+check+failed
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 ccleaner; and update/reinstall application

Hash mismatch could be caused by these factors:

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

@ackalker
Copy link
Author

My guess is that the file was blocked by Windows Defender, I was unsure where the error message came from, Windows or Scoop, so I just followed instructions and created this issue.

@YiHui-Liu
Copy link

yes, i think that it it blocker by the Windows Defender:

Line |
 634 |      $actual = (Get-FileHash -Path $file -Algorithm $algorithm).Hash.T …
     |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | The operation could not be completed successfully because the file contains a virus or potentially unwanted software : 'D:\Softwares\Scoop\cache\ccleaner#6.29.11342#44855ab.zip'
InvalidOperation: D:\Softwares\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: D:\Softwares\Scoop\apps\scoop\current\lib\core.ps1:1376
Line |
1376 |          return Get-Content $file -AsByteStream -TotalCount 8
     |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | The operation could not be completed successfully because the file contains a virus or potentially unwanted software : 'D:\Softwares\Scoop\cache\ccleaner#6.29.11342#44855ab.zip'

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