ScoopInstaller / Main

📦 The default bucket for Scoop.
https://scoop.sh
The Unlicense
1.58k stars 958 forks source link

xming@6.9.0.31: hash check failed #5768

Closed harusakura924 closed 5 months ago

harusakura924 commented 5 months ago
> scoop install xming
WARN  Purging previous failed installation of xming.
ERROR 'xming' isn't installed correctly.
Removing older version (6.9.0.31).
'xming' was uninstalled.
Installing 'xming' (6.9.0.31) [64bit] from 'main' bucket
Xming-mesa-6-9-0-31-setup.exe (2.5 MB) [======================================================================] 100%
Checking hash of Xming-mesa-6-9-0-31-setup.exe ... 以 "0" 引數呼叫 ".ctor" 時發生例外狀況: "此實作不屬於 Windows Platform FIPS 已驗證密碼編譯演算法的一部分。"
位於 C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Utility\Microsoft.PowerShell.Utility.psm1:
31 字元:13
+             $hasher = $hasherType::New()
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : InvalidOperationException

Get-FileHash : 無法讀取檔案 'C:\Users\tommy\scoop\apps\xming\6.9.0.31\Xming-mesa-6-9-0-31-setup.exe': 不可在值為 Null
的運算式上呼叫方法。
位於 C:\Users\tommy\scoop\apps\scoop\current\lib\install.ps1:679 字元:16
+     $actual = (Get-FileHash -Path $file -Algorithm $algorithm).Hash.T ...
+                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ReadError: (C:\Users\tommy\...-0-31-setup.exe:PSObject) [Write-Error], WriteErrorExcepti
   on
    + FullyQualifiedErrorId : FileReadError,Get-FileHash

不可在值為 Null 的運算式上呼叫方法。
位於 C:\Users\tommy\scoop\apps\scoop\current\lib\install.ps1:679 字元:5
+     $actual = (Get-FileHash -Path $file -Algorithm $algorithm).Hash.T ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [],RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

ERROR Hash check failed!
App:         main/xming
URL:         https://downloads.sourceforge.net/project/xming/Xming-mesa/6.9.0.31/Xming-mesa-6-9-0-31-setup.exe?r=scoop
First bytes: 4D 5A 50 00 02 00 00 00
Expected:    e580debbf6110cfc4d8fcd20beb541c1
Actual:
SourceForge.net is known for causing hash validation fails. Please try again before opening a ticket.

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/ScoopInstaller/Main/issues/new?title=xming%406.9.0.31%3a+hash+check+failed
github-actions[bot] commented 5 months ago

Cannot reproduce

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

Hash mismatch could be caused by these factors: