Closed howardsun-dev closed 2 days ago
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:
It is reproducible on my multiple machines; my scoop is updated and I'm using development branch.
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: