-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
vcxsrv@21.1.13.0: hash check failed #13874
Comments
Cannot reproduce Are you sure your scoop is up to date? Clean cache and reinstall Hash mismatch could be caused by these factors:
|
2nd attempt (with your recommendation, still same network setup): xxx@xxxMINGW64 ~/xxx(develop)
$ scoop install extras/vcxsrv
WARN Purging previous failed installation of vcxsrv.
ERROR 'vcxsrv' isn't installed correctly.
Removing older version (21.1.13.0).
'vcxsrv' was uninstalled.
Installing 'vcxsrv' (21.1.13.0) [64bit] from 'extras' bucket
vcxsrv-64.21.1.13.0.installer.exe (39,9 MB) [========================================================================================================================] 100%
Checking hash of vcxsrv-64.21.1.13.0.installer.exe ... Get-FileHash : The file 'C:\Users\aman\scoop\apps\vcxsrv\21.1.13.0\dl.7z' cannot be read: Operation did not complete successfully because the file contains a virus or
potentially unwanted software.
At C:\Users\xxx\scoop\apps\scoop\current\lib\install.ps1:634 char:16
+ $actual = (Get-FileHash -Path $file -Algorithm $algorithm).Hash.T ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ReadError: (C:\Users\xxx\s...21.1.13.0\dl.7z:PSObject) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : FileReadError,Get-FileHash
You cannot call a method on a null-valued expression.
At C:\Users\xxx\scoop\apps\scoop\current\lib\install.ps1:634 char:5
+ $actual = (Get-FileHash -Path $file -Algorithm $algorithm).Hash.T ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Get-Content : Operation did not complete successfully because the file contains a virus or potentially unwanted software.
At C:\Users\xxx\scoop\apps\scoop\current\lib\core.ps1:1379 char:16
+ return Get-Content $file -Encoding byte -TotalCount 8
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ReadError: (C:\Users\xxx\s...21.1.13.0\dl.7z:String) [Get-Content], IOException
+ FullyQualifiedErrorId : GetContentReaderIOError,Microsoft.PowerShell.Commands.GetContentCommand
ERROR Hash check failed!
App: extras/vcxsrv
URL: https://github.com/marchaesen/vcxsrv/releases/download/21.1.13/vcxsrv-64.21.1.13.0.installer.exe#/dl.7z
First bytes:
Expected: 970243b0e2c652949225d250bf37e87e2f321435d4d3757e94ff762e4578a281
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=vcxsrv%4021.1.13.0%3a+hash+check+failed
xxx@xxxMINGW64 ~/xxx(develop)
$
|
Depending on the antivirus software you are using and its settings it could block installation or quarantine binary in case of threat detection. May relate to marchaesen/vcxsrv#23, marchaesen/vcxsrv#26. |
The text was updated successfully, but these errors were encountered: