ScoopInstaller / Extras

📦 The Extras bucket for Scoop.
https://scoop.sh
The Unlicense
1.8k stars 1.37k forks source link

vcxsrv@21.1.13.0: hash check failed #14010

Closed dannyhvc closed 1 month ago

dannyhvc commented 1 month ago
~> scoop install extras/vcxsrv                                                                                                                                                               09/11/2024 07:59:48 PM
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\DaniS\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\DaniS\scoop\apps\scoop\current\lib\install.ps1:634 char:16
+     $actual = (Get-FileHash -Path $file -Algorithm $algorithm).Hash.T ...
+                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ReadError: (C:\Users\DaniS\...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\DaniS\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\DaniS\scoop\apps\scoop\current\lib\core.ps1:1379 char:16
+         return Get-Content $file -Encoding byte -TotalCount 8
+                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ReadError: (C:\Users\DaniS\...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

Just trying to get guis apps from kali-linux on WSL to render in windows.

github-actions[bot] commented 1 month ago

Cannot reproduce

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

Hash mismatch could be caused by these factors:

aliesbelik commented 1 month ago

... Get-FileHash : The file 'C:\Users\DaniS\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. ... Get-Content : Operation did not complete successfully because the file contains a virus or potentially unwanted software.

https://github.com/ScoopInstaller/Extras/issues/13874#issuecomment-2307179918