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

Installation fails unhelpfully when Juliaup configuration file present from a previous installation. #853

Open
jishnub opened this issue Feb 29, 2024 · 3 comments

Comments

@jishnub
Copy link

jishnub commented Feb 29, 2024

Trying to install juliaup, I end up with the error message

$ curl -fsSL https://install.julialang.org | sh -s -- --yes

info: downloading installer
Welcome to Julia!

This will download and install the official Julia Language distribution
and its version manager Juliaup.

While Juliaup does not seem to be installed on this system, there is a
Juliaup configuration file present from a previous installation.

Please remove the existing Juliaup configuration file or use interactive mode.

However, this does not tell me where the configuration file is, or what I should do to resolve this. I don't have a ~/.juliaup directory, so I'm unsure how to resolve this.

@DilumAluthge
Copy link
Member

  1. Is the JULIA_DEPOT_PATH environment variable defined in your environment?
  2. Is the JULIAUP_DEPOT_PATH environment variable defined in your environment?
  3. Does the folder ~/.julia/juliaup exist on your system?

@jishnub
Copy link
Author

jishnub commented Feb 29, 2024

3 was the issue here, and removing ~/.julia/juliaup resolved it. Perhaps this should be mentioned in the error message?

@DilumAluthge
Copy link
Member

Yeah, we should print the problematic path in the error message.

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

2 participants