Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

bug: bash: /home/wade/.asdf/completions/asdf.bash: No such file or directory #1821

Closed
liweiyuan opened this issue Dec 23, 2024 · 3 comments
Closed
Labels

Comments

@liweiyuan
Copy link

Describe the Bug

bash: /home/wade/.asdf/completions/asdf.bash: No such file or directory

Steps to Reproduce

  1. asdf update
  2. open bash

Expected Behaviour

微信图片_20241223170856_47

Actual Behaviour

Bash does not report an error.

Environment

OS:
Linux wade-MACHR-WX9 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec  5 13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

SHELL:
GNU bash,版本 5.2.21(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2022 自由软件基金会
许可证 GPLv3+:GNU GPL 许可证第三版或者更新版本 <http://gnu.org/licenses/gpl.html>

本软件是自由软件,您可以自由地更改和重新发布。
在法律许可的情况下特此明示,本软件不提供任何担保。

BASH VERSION:
5.2.21(1)-release

ASDF VERSION:
v0.15.0-a10057d

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

ASDF INSTALLED PLUGINS:
deno                         https://github.com/asdf-community/asdf-deno.git master 13f7f08
elixir                       https://github.com/asdf-vm/asdf-elixir.git master a4c42e1
erlang                       https://github.com/asdf-vm/asdf-erlang.git master 826ad0e
gradle                       https://github.com/rfrancis/asdf-gradle.git master 3af5633
groovy                       https://github.com/weibemoura/asdf-groovy.git master e33491d
java                         https://github.com/halcyon/asdf-java.git master 93fdf30
maven                        https://github.com/halcyon/asdf-maven.git master 583612b
nodejs                       https://github.com/asdf-vm/asdf-nodejs.git master 93bd217
rebar                        https://github.com/Stratus3D/asdf-rebar.git master 827ef1b

asdf plugins affected (if relevant)

OS:
Linux wade-MACHR-WX9 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

SHELL:
GNU bash,版本 5.2.21(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2022 自由软件基金会
许可证 GPLv3+:GNU GPL 许可证第三版或者更新版本 http://gnu.org/licenses/gpl.html

本软件是自由软件,您可以自由地更改和重新发布。
在法律许可的情况下特此明示,本软件不提供任何担保。

BASH VERSION:
5.2.21(1)-release

ASDF VERSION:
v0.15.0-a10057d

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

ASDF INSTALLED PLUGINS:
deno https://github.com/asdf-community/asdf-deno.git master 13f7f08
elixir https://github.com/asdf-vm/asdf-elixir.git master a4c42e1
erlang https://github.com/asdf-vm/asdf-erlang.git master 826ad0e
gradle https://github.com/rfrancis/asdf-gradle.git master 3af5633
groovy https://github.com/weibemoura/asdf-groovy.git master e33491d
java https://github.com/halcyon/asdf-java.git master 93fdf30
maven https://github.com/halcyon/asdf-maven.git master 583612b
nodejs https://github.com/asdf-vm/asdf-nodejs.git master 93bd217
rebar https://github.com/Stratus3D/asdf-rebar.git master 827ef1b

@liweiyuan liweiyuan added the bug label Dec 23, 2024
@liweiyuan
Copy link
Author

Use the following configuration in Bash.

asdf

. "$HOME/.asdf/asdf.sh"
. "$HOME/.asdf/internal/completions/asdf.bash"

@Stratus3D
Copy link
Member

Hi @liweiyuan , I'm sorry you are having this issue.

When I run asdf update I get the latest release (https://github.com/asdf-vm/asdf/releases/tag/v0.15.0) with SHA 31e8c93. In your environment I see v0.15.0-a10057d, which is not the latest stable release, that is latest master , which is currently contains a complete rewrite of the app in Go. It seems you may have run asdf update --head, which updates to the latest commit on master, and that probably isn't what you want.

Please try running asdf update (with no flags) to get back to latest stable version.

@liweiyuan
Copy link
Author

liweiyuan commented Dec 25, 2024

Okay, thank you. @Stratus3D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants