The refusal hint in prebuilt mode points to the source list, which holds names the prebuilt install refuses

Open
#43 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@linghengqian is already working on this.

Since Nov 22, 2026.

  • #44 by @linghengqian — open

Assessment

This issue has not been assessed yet.

Description

bug

In prebuilt mode (USE_PREBUILT_OTP set), a name that the prebuilt list does not hold is refused with the hint "Run vfox search erlang to see the names that can be installed". That command lists the source releases unless the variable is set, and the source list holds names that the prebuilt list does not.

Reproduction, with vfox 1.1.0 on Linux x86-64 and the plugin v1.2.4 (83b2826), in a fresh HOME with the plugin added:

vfox search erlang                                    # source list: 546 lines, includes 17.0
USE_PREBUILT_OTP=ubuntu-24.04 vfox install --yes [email protected]

Actual: the install is refused before the download:

Erlang/OTP 17.0 is not in the version list, so it cannot be installed. Run `vfox search erlang` to see the names that can be installed. A partial name, such as 28, is not one of them.

Plain vfox search erlang, without the variable, lists 17.0 again. In a fresh HOME, USE_PREBUILT_OTP=ubuntu-24.04 vfox search erlang lists the prebuilt names instead (179 lines).

Expected: when the variable is set, the hint names the command for the prebuilt list, for example USE_PREBUILT_OTP=ubuntu-24.04 vfox search erlang.

Related: with a warm search cache, the variable does not change the list that the search shows (see #33). The hint would need to match that too once #33 is fixed.

Severity: low. The refusal is correct. Only the hint sends the user to the wrong list.

Code: lib/erlang_utils.lua line 355 (the error with the hint in check_version_listed).

Dominant language
Lua
Stars
8
Forks
2
Avg merge
4h 47m
Merged PRs (30d)
10

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from version-fox/vfox-erlang

All issues in version-fox/vfox-erlang

Similar issues

More Lua issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.