Package Details: asdf-vm 0.16.3-1

Git Clone URL: https://aur.archlinux.org/asdf-vm.git (read-only, click to copy)
Package Base: asdf-vm
Description: Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more
Upstream URL: https://asdf-vm.com
Licenses: MIT
Submitter: alecmev
Maintainer: alecmev (rnestler)
Last Packager: rnestler
Votes: 43
Popularity: 3.01
First Submitted: 2019-05-27 20:24 (UTC)
Last Updated: 2025-02-18 14:59 (UTC)

Dependencies (15)

Required by (1)

Sources (1)

Pinned Comments

alecmev commented on 2020-02-10 11:56 (UTC) (edited on 2022-01-20 18:16 (UTC) by alecmev)

Follow the official instructions to make asdf-vm work, see the sections titled "YOUR_SHELL & Pacman".

The completions are already installed, just make sure your shell is configured to use them. That is, don't source completions/asdf.bash or fpath=(completions $fpath).

Thanks for bringing this up, @odelucca. This is worth highlighting in a pinned comment, installation logs are too noisy.

Latest Comments

1 2 3 4 5 Next › Last »

Winford commented on 2025-02-13 00:38 (UTC) (edited on 2025-02-13 00:40 (UTC) by Winford)

Thank you for maintaining this package. I use it frequently, and on all of my machines. It works just great on 'aarch64' as well as x86_64', and if it would not be too much trouble could you add 'aarch64' to the arch() configuration?

I always forget that I need to edit the PKGBUILD before updating ;-)

rnestler commented on 2025-02-09 15:22 (UTC)

Thanks for maintaining this package @rnestler.

You're welcome :)

I got it fixed after running asdf reshim. I'm not sure if I missed a step during the upgrade process. I'm leaving this note here in case it happens to someone else.

I needed to do this as well. We could mention it in the post_upgrade message.

rnestler commented on 2025-02-09 15:20 (UTC)

The dependency on go can be removed as it's only required during installation.

It's set as a makedepends which is exactly for that purpose: Dependencies you need to build the package.

lcdss commented on 2025-02-09 14:28 (UTC)

The dependency on go can be removed as it's only required during installation.

samuelgrigolato commented on 2025-02-08 13:39 (UTC)

Thanks for maintaining this package @rnestler.

After upgrading to 0.16 (from 0.15) and applying the instructions in the "Upgrading Without Losing Data" section of asdf upgrade notes, I noticed the shim scripts still pointed to the old /opt/asdf-vm directory.

I got it fixed after running asdf reshim. I'm not sure if I missed a step during the upgrade process. I'm leaving this note here in case it happens to someone else.

0m3 commented on 2025-02-06 16:13 (UTC) (edited on 2025-02-06 18:03 (UTC) by 0m3)

Hello all. After the update:

❯ asdf list erlang
  20.0
  21.0
  22.0
  23.0
  24.3.4.17
  25.3.2.16
  26.2.5.7
  27.2.1
 *27.2.2
❯ asdf uninstall erlang 27.2.1
Downloading kerl...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 83800  100 83800    0     0   165k      0 --:--:-- --:--:-- --:--:--  164k
Failed to update available versions
exit status 1

❯ asdf info
OS:
Linux arch 6.13.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Sun, 02 Feb 2025 01:02:29 +0000 x86_64 GNU/Linux

SHELL:
zsh 5.9 (x86_64-pc-linux-gnu)

BASH VERSION:
5.2.37(1)-release

ASDF VERSION:
0.16.1-arch

ASDF INTERNAL VARIABLES:
ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions
ASDF_DATA_DIR=/home/user/.asdf
ASDF_CONFIG_FILE=/home/user/.asdfrc

ASDF INSTALLED PLUGINS:
erlang    https://github.com/asdf-vm/asdf-erlang.git 0e617b61ece7cff73331aacc1cd9986e35618c41

I saw here: https://asdf-vm.com/manage/commands.html that some commands have been updated (For example, from asdf global erlang latest to asdf set erlang latest). But the asdf uninstall <name> <version> command hasn't changed. Configuring asdf has also been changed (https://asdf-vm.com/guide/getting-started.html#_2-configure-asdf).

ISSUE: https://github.com/asdf-vm/asdf-erlang/issues/331

asdf probably has nothing to do with this, it's the asdf-erlang plugin.

rnestler commented on 2025-02-04 12:38 (UTC)

@mjboa

I think this is because you seem to manage go with asdf as well? Just disabling asdf or configure a global go version with system should work.

mjboa commented on 2025-02-03 18:00 (UTC)

Using paru I ran into:

...
==> Sources are ready.
asdf-vm-0.16.0-1: parsing pkg list...
==> Making package: asdf-vm 0.16.0-1 (Mon 03 Feb 2025 06:57:35 PM CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
No preset version installed for command go
Please install a version by running one of the following:

asdf install golang 1.23.4

or add one of the following versions in your config file at /home/mike/.cache/paru/clone/asdf-vm/src/asdf-0.16.0/.tool-versions
golang 1.21.6
golang 1.22.1
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'asdf-vm-0.16.0-1':
error: packages failed to build: asdf-vm-0.16.0-1

It feels like this shouldn't happen but I don't know whose fault it is.

rnestler commented on 2025-02-03 16:05 (UTC)

@lukebakken Updated. 0.16 has a lot of breaking changes (rewrite in go) which means it needed a lot of changes in the PKGBUILD to build and package it correctly.

Please report any bugs you encounter.

lukebakken commented on 2025-02-03 13:17 (UTC)

Just FYI, version 0.16 has been released. Thanks for providing this package.