jtakakura / asdf-odin

Odin plugin for the asdf version manager github.com/asdf-vm/asdf
https://github.com/asdf-vm/asdf
MIT License
9 stars 5 forks source link

cannot install dev-2024-06 (ubuntu) #4

Closed achou11 closed 3 months ago

achou11 commented 3 months ago

Describe the bug

Using this plugin with mise and trying to upgrade from dev-2024-05 to dev-2024-06. I get the following install error:

[DEBUG] $ ~/.local/share/mise/plugins/odin/bin/install
chmod: cannot access '/home/andrewchou/.local/share/mise/installs/odin/dev-2024-06/bin/odin': No such file or directory
asdf-odin: Expected /home/andrewchou/.local/share/mise/installs/odin/dev-2024-06/bin/odin to be executable.
asdf-odin: An error occurred while installing odin dev-2024-06.
[ERROR] ~/.local/share/mise/plugins/odin/bin/install failed
Error:
   0: ~/.local/share/mise/plugins/odin/bin/install exited with non-zero status: exit code 1

My best guess is that it seems like the zip directory structure is slightly different from the previous release. The previous release has a dist.zip directory when unzipping, while this new one has dist.

image

Steps to reproduce

I'm using mise, but probably reproducible with asdf:

mise install odin@dev-2024-06

Expected behavior

Installation should work without issue