ScoopInstaller / Main

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

[Bug]: azcopy fails to install #5675

Closed fpvmorais closed 3 months ago

fpvmorais commented 3 months ago

Prerequisites

Package Name

azcopy

Expected/Current Behaviour

Should install or update the application

Steps to Reproduce

PS> scoop install azcopy
Installing 'azcopy' (10.23.0) [64bit] from main bucket
Loading dl.zip from cache.
Checking hash of dl.zip ... ok.
Extracting #dl.zip ... Exception: C:\Users\pedro\scoop\apps\scoop\current\lib\core.ps1:638
Line |
 638 |          throw "Could not find '$(fname $from)'! (error $($proc.ExitCo …
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Could not find 'azcopy_windows_amd64_10.23.0'! (error 16)

Possible Solution

There's a new version available and the installer expects version 10.23 after unzip, but there's version 10.24 instead. This causes the error.

Scoop and Buckets Version

PS> scoop --version
Current Scoop version:
v0.3.1 - Released at 2022-11-15

'main' bucket:
db3964a44 (HEAD -> master, origin/master, origin/HEAD) azcopy@10.23.0: Fix hash (Closes #5674)

Scoop Config

PS> > scoop config

last_update         scoop_repo                              scoop_branch
-----------         ----------                              ------------
02/04/2024 12:28:31 https://github.com/ScoopInstaller/Scoop master

PowerShell Version

PS> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.4.1
PSEdition                      Core
GitCommitId                    7.4.1
OS                             Microsoft Windows 10.0.19045
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Additional Softwares

No response