Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azure-cli@2.57.0: decompress error #5568

Closed
ss005 opened this issue Mar 2, 2024 · 1 comment
Closed

azure-cli@2.57.0: decompress error #5568

ss005 opened this issue Mar 2, 2024 · 1 comment

Comments

@ss005
Copy link

ss005 commented Mar 2, 2024

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?

  • I have LongPathsEnabled set to 1.
  • Using Windows11.
  • Running scoop install from normal cmd, not in admin mode.
  • Did sign-out and restart.

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
Copy link
Author

ss005 commented Mar 2, 2024

Fixed issue using lessmsi.

References:
#5300
ScoopInstaller/Extras#3329

@ss005 ss005 closed this as completed Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant