ScoopInstaller / Extras

📦 The Extras bucket for Scoop.

Home Page:https://scoop.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wezterm@20240203-110809-5046fc22: hash check failed

FoxxElite-ai opened this issue · comments

WARN Purging previous failed installation of wezterm.
ERROR 'wezterm' isn't installed correctly.
Removing older version (20240203-110809-5046fc22).
'wezterm' was uninstalled.
Installing 'wezterm' (20240203-110809-5046fc22) [64bit] from extras bucket
WezTerm-windows-20240203-110809-5046fc22.zip (63.1 MB) [=====================================================] 100%
Copy-Item: C:\Users\FoxxE\scoop\apps\scoop\current\lib\install.ps1:94
Line |
94 | Copy-Item $cached $to
| ~~~~~~~~~~~~~~~~~~~~~
| Operation did not complete successfully because the file contains a virus or potentially unwanted software. :
| 'C:\Users\FoxxE\scoop\cache\wezterm#20240203-110809-5046fc22#https_github.com_wez_wezterm_releases_download_20240203-110809-5046fc22_WezTerm-windows-20240203-110809-5046fc22.zip'
Checking hash of WezTerm-windows-20240203-110809-5046fc22.zip ... Get-FileHash: C:\Users\FoxxE\scoop\apps\scoop\current\lib\install.ps1:674
Line |
674 | $actual = (Get-FileHash -Path $file -Algorithm $algorithm).Hash.T …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot find path
| 'C:\Users\FoxxE\scoop\apps\wezterm\20240203-110809-5046fc22\WezTerm-windows-20240203-110809-5046fc22.zip'
| because it does not exist.
InvalidOperation: C:\Users\FoxxE\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.
ERROR Hash check failed!
App: extras/wezterm
URL: https://github.com/wez/wezterm/releases/download/20240203-110809-5046fc22/WezTerm-windows-20240203-110809-5046fc22.zip
Expected: 57e5d03b585303d81e8b8e96d1230362852eb39aca92b3b29c7a42cfb82f9ac4
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=wezterm%4020240203-110809-5046fc22%3a+hash+check+failed

Cannot reproduce

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

Hash mismatch could be caused by these factors:

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