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

uninstall is not working #331

Open
epinault opened this issue Feb 6, 2025 · 3 comments
Open

uninstall is not working #331

epinault opened this issue Feb 6, 2025 · 3 comments

Comments

@epinault
Copy link

epinault commented Feb 6, 2025

I am using asdf installed via brew

❯ brew --version
Homebrew 4.4.20

❯ brew info asdf
==> asdf: stable 0.16.1 (bottled), HEAD

❯ brew config
HOMEBREW_VERSION: 4.4.20
ORIGIN: https://github.com/Homebrew/brew
HEAD: 47ef1a3b0b742a78be35c016df6a0279d6035ebb
Last commit: 3 days ago
Branch: stable
Core tap JSON: 06 Feb 04:03 UTC
Core cask tap JSON: 06 Feb 04:03 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 14
Homebrew Ruby: 3.3.7 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.7/bin/ruby
CPU: 14-core 64-bit arm_palma
Clang: 15.0.0 build 1500
Git: 2.45.0 => /opt/homebrew/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 15.3-arm64
CLT: 15.0.1.0.2.5
Xcode: N/A
Rosetta 2: false

When trying to uninstall a version of erlang it completely fails. I am up to date with the plugin too

❯ asdf uninstall erlang 27.2
Downloading kerl...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 74085  100 74085    0     0   144k      0 --:--:-- --:--:-- --:--:--  144k
Failed to update available versions
exit status 1
@0mega3
Copy link

0mega3 commented Feb 6, 2025

Hello.
I confirm it.
It doesn't work for me.

❯ 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

@lukebakken
Copy link

Same here, but easy enough to work-around for now:

rm -rf .asdf/installs/erlang/27.2.1

@epinault
Copy link
Author

epinault commented Feb 6, 2025

yea that s how I got them removed but would love to get this fixed :)

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

3 participants