ScoopInstaller / Main

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

azure-cli@2.57.0: decompress error #5568

Closed ss005 closed 4 months ago

ss005 commented 4 months ago

I'm getting below error while trying to install azure-cli. I think it's realted to long path, (270 in my case), is there any workaround other than moving scoop directory?

scoop install azure-cli

Installing 'azure-cli' (2.57.0) [64bit] from main bucket
Loading azure-cli-2.57.0-x64.msi from cache.
Checking hash of azure-cli-2.57.0-x64.msi ... ok.
Extracting azure-cli-2.57.0-x64.msi ... ERROR Exit code was 1603!
Failed to extract files from D:\xxxx\xxxxxx\xxxxxxxxxxxx\scoop\apps\azure-cli\2.57.0\azure-cli-2.57.0-x64.msi.
Log file:
  D:\xxxx\xxxxxx\xxxxxxxxxxxx\scoop\apps\azure-cli\2.57.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.57.0%3a+decompress+error

msi.log: === Logging started: 02-Mar-24 12:34:30 === Error 1304. Error writing to file: D:\xxxx\xxxxxx\xxxxxxxxxxxx\scoop\apps\azure-cli\2.57.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: 02-Mar-24 12:34:47 ===

ss005 commented 4 months ago

Fixed issue using lessmsi.

References: https://github.com/ScoopInstaller/Main/issues/5300 https://github.com/ScoopInstaller/Extras/issues/3329