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

MacOS downloads are zips, not tars #33

Open
bmatcuk opened this issue May 21, 2022 · 3 comments
Open

MacOS downloads are zips, not tars #33

bmatcuk opened this issue May 21, 2022 · 3 comments

Comments

@bmatcuk
Copy link

bmatcuk commented May 21, 2022

I dunno if things changed with flutter v3, but the MacOS downloads are zip files not tars: https://storage.googleapis.com/flutter_infra_release/releases/releases_macos.json

When I run asdf install flutter 3.0.1-stable, for example, I get:

$ asdf install flutter 3.0.1-stable
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1204M  100 1204M    0     0  34.1M      0  0:00:35  0:00:35 --:--:-- 33.1M
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
@ProteanDev
Copy link

ProteanDev commented Jul 22, 2022

I'm getting this issue too
curl: (3) URL using bad/illegal format or missing URL
tar: Error opening archive: Failed to open 'flutter_macos_3.0.5-stable.zip'

@ProteanDev
Copy link

ProteanDev commented Jul 22, 2022

Okay I got the solution that works for me, if you're on macOS and using homebrew ( because why would you not ), just do
asdf plugin-update flutter - updates the plugin
brew install jq - jq helps with the zip file I believe
then finally asdf install flutter [Version you want or just use 'latest']

@bmatcuk
Copy link
Author

bmatcuk commented Aug 30, 2022

This did not solve it for me... I already have jq installed and the latest version of the flutter asdf plugin.

bmatcuk added a commit to bmatcuk/asdf-flutter that referenced this issue Aug 30, 2022
hleinone pushed a commit to hleinone/asdf-flutter that referenced this issue Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants