Skip to content

bug: Error in installing Dart versions #2216

@arnab

Description

@arnab

Describe the Bug

I have been using asdf for a while to manage Flutter and Dart versions. New versions of Dart are failing to install with:

error installing version: failed to run install callback: exit status 2

See:

asdf install dart 3.10.3
Platform 'darwin' supported!
Version: 3.10.3
Install Path: /Users/arnab/.asdf/installs/dart/3.10.3
Platform: macos
Architecture: arm64
Downloading to temp directory asdf-dart.deruBR
Include Extras: 0
Major Dart Version: 3
Checking if arm version exists...
https://storage.googleapis.com/dart-archive/channels/stable/release/3.10.3/sdk/dartsdk-macos-arm64-release.zip
Found arm version
Installing Dart SDK...
https://storage.googleapis.com/dart-archive/channels/stable/release/3.10.3/sdk/dartsdk-macos-arm64-release.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  197M  100  197M    0     0  13.7M      0  0:00:14  0:00:14 --:--:-- 14.0M
Unzipping Dart SDK to /Users/arnab/.asdf/installs/dart/3.10.3...
error installing version: failed to run install callback: exit status 2

Steps to Reproduce

asdf install dart 3.10.3

Expected Behaviour

Should install Dart as it used to for previous versions

Actual Behaviour

Fails to install

Environment

asdf info               
OS:
Darwin Mac.lan 25.1.0 Darwin Kernel Version 25.1.0: Mon Oct 20 19:34:05 PDT 2025; root:xnu-12377.41.6~2/RELEASE_ARM64_T6041 arm64

SHELL:
zsh 5.9 (arm64-apple-darwin25.0)

BASH VERSION:
3.2.57(1)-release

ASDF VERSION:
0.16.7

ASDF INTERNAL VARIABLES:
ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions
ASDF_DATA_DIR=/Users/arnab/.asdf
ASDF_CONFIG_FILE=/Users/arnab/.asdfrc

ASDF INSTALLED PLUGINS:
dart      https://github.com/PatOConnor43/asdf-dart.git 8c2a73445059fe5839d154d3533eadadd77fce94
flutter   https://github.com/oae/asdf-flutter.git       bd28847e2b6b4012a461520dd6d7a56296f74e86
java      https://github.com/halcyon/asdf-java.git      4e93291821c44616904aec7c25618b4e77f9360e
nodejs    https://github.com/asdf-vm/asdf-nodejs.git    fd2c7f94c4c71416047cacf2af6e4fa819b364b7
python    https://github.com/danhper/asdf-python.git    a3a01856098d6d2b9642e382f5b38e70275726d1
ruby      https://github.com/asdf-vm/asdf-ruby.git      357428bb69dcb9833a4544d712648259be9ef0c2

asdf plugins affected (if relevant)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions