ScoopInstaller / Main

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

azure-cli@2.61.0: decompress error #5860

Closed MrPandey01 closed 1 month ago

MrPandey01 commented 4 months ago
azure-cli: 2.49.0 -> 2.61.0
Updating one outdated app:
Updating 'azure-cli' (2.49.0 -> 2.61.0)
Downloading new version
azure-cli-2.61.0-x64.msi (69.7 MB) [=================================================================================================================================================================================================] 100%
Checking hash of azure-cli-2.61.0-x64.msi ... ok.
Uninstalling 'azure-cli' (2.49.0)
Removing shim 'az'.
Removing shim 'az.cmd'.
Unlinking ~\scoop\apps\azure-cli\current
Installing 'azure-cli' (2.61.0) [64bit] from 'main' bucket
Loading azure-cli-2.61.0-x64.msi from cache
Extracting azure-cli-2.61.0-x64.msi ... ERROR Exit code was 1618!
Failed to extract files from C:\Users\arpande1\scoop\apps\azure-cli\2.61.0\azure-cli-2.61.0-x64.msi.
Log file:
  ~\scoop\apps\azure-cli\2.61.0\msi.log

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=azure-cli%402.61.0%3a+decompress+error
o-l-a-v commented 4 months ago

You might be hitting this known issue:

Maybe Scoop should use the ZIP instead as suggested here?

o-l-a-v commented 3 months ago

I got error code 1304.

=== Logging started: 06.06.2024  10:02:50 ===
Error 1304. Error writing to file: C:\Users\olav.birkeland\scoop\apps\azure-cli\2.61.0\_tmp\SourceDir\Microsoft SDKs\Azure\CLI2\Lib\site-packages\azure\cli\command_modules\dla\vendored_sdks\azure_mgmt_datalake_analytics\catalog\models\data_lake_analytics_catalog_secret_create_or_update_parameters.pyc. Verify that you have access to that directory.
=== Logging stopped: 06.06.2024  10:06:19 ===

What a mastadon of a file path. 266 characters long, failed even with long file paths enabled. Heres the one:

While installing using the ZIP went through fast with no issues. Lets hope #5885 gets merged.