ScoopInstaller / Main

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

meta-package-manager@5.16.0: hash check failed #5866

Closed goyalyashpal closed 4 months ago

github-actions[bot] commented 4 months ago

Cannot reproduce

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

Hash mismatch could be caused by these factors:

goyalyashpal commented 4 months ago
  • Antivirus configuration
Summary of `scoop install `. Expand (click the arrow) for complete logs. ``` Get-Content : Operation did not complete successfully because the file contains a virus or potentially unwanted software. ```

```powershell > scoop install main/meta-package-manager WARN Scoop uses 'aria2c' for multi-connection downloads. WARN Should it cause issues, run 'scoop config aria2-enabled false' to disable it. WARN To disable this warning, run 'scoop config aria2-warning-enabled false'. Installing 'meta-package-manager' (5.16.0) [64bit] from 'main' bucket Starting download with aria2 ... Download: Download Results: Download: gid |stat|avg speed |path/URI Download: ======+====+===========+======================================================= Download: 55cbe2|OK | 7.8MiB/s|D:/UserFiles/scoop/cache/meta-package-manager#5.16.0#https_github.com_kdeldycke_meta-package-manager_releases_download_v5.16.0_mpm-windows-x64.exe_mpm.exe Download: Status Legend: Download: (OK):download completed. Get-Content : Operation did not complete successfully because the file contains a virus or potentially unwanted software. At D:\UserFiles\scoop\apps\scoop\current\lib\core.ps1:1345 char:16 + return Get-Content $file -Encoding byte -TotalCount 8 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ReadError: (D:\UserFiles\sc...x64.exe_mpm.exe:String) [Get-Content], IOException + FullyQualifiedErrorId : GetContentReaderIOError,Microsoft.PowerShell.Commands.GetContentCommand Checking hash of mpm-windows-x64.exe ... Get-FileHash : The file 'D:\UserFiles\scoop\cache\meta-package-manager#5.16.0#h ttps_github.com_kdeldycke_meta-package-manager_releases_download_v5.16.0_mpm-wi ndows-x64.exe_mpm.exe' cannot be read: Operation did not complete successfully because the file contains a virus or potentially unwanted software. At D:\UserFiles\scoop\apps\scoop\current\lib\install.ps1:679 char:16 + $actual = (Get-FileHash -Path $file -Algorithm $algorithm).Hash.T ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ReadError: (D:\UserFiles\sc...x64.exe_mpm.exe:PSObject) [Write-Error], WriteErrorException + FullyQualifiedErrorId : FileReadError,Get-FileHash You cannot call a method on a null-valued expression. At D:\UserFiles\scoop\apps\scoop\current\lib\install.ps1:679 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 D:\UserFiles\scoop\apps\scoop\current\lib\core.ps1:1345 char:16 + return Get-Content $file -Encoding byte -TotalCount 8 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ReadError: (D:\UserFiles\sc...x64.exe_mpm.exe:String) [Get-Content], IOException + FullyQualifiedErrorId : GetContentReaderIOError,Microsoft.PowerShell.Commands.GetContentCommand ERROR Hash check failed! App: main/meta-package-manager URL: https://github.com/kdeldycke/meta-package-manager/releases/download/v5.16.0/mpm-windows-x64.exe#/mpm.exe First bytes: Expected: af5bc4b7355575b0830868061084f33fdf75bac8f4716609f555eced53476dd6 Actual: 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=meta-package-manager%405.16.0%3a+hash+check+failed ```

Learn more link:

# Threat blocked

Detected: Trojan:Win32/Wacatac.H!ml
Status: |
  Removed
  A threat or app was removed from this device

Date: ...
Details: |
  This program is dangerous and executes commands from an attacker.

Affected items:
  file: D:\UserFiles\scoop\cache\meta-package-manager#5.16.0#https_github.com_kdeldycke_meta-package-manager_releases_download_v5.16.0_mpm-windows-x64.exe_mpm.exe