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

Cannot add any package after adding private registry within an empty environment #46

Closed
sairus7 opened this issue Sep 29, 2021 · 1 comment · Fixed by #53
Closed

Cannot add any package after adding private registry within an empty environment #46

sairus7 opened this issue Sep 29, 2021 · 1 comment · Fixed by #53

Comments

@sairus7
Copy link

sairus7 commented Sep 29, 2021

If I add a private registry (]registry add ...) to a fresh system with a completely empty environment with no packages installed, then Julia cannot install any other public or private packages - it just says Cannot find name corresponding to UUID
To fix this, I need to remove private registry, then install any public package to General registry (e.g. ]add ArgParse), then add private registry again, and then it works fine.

@sairus7 sairus7 changed the title Cannot add any package when working with a private registry installed with an empty environment Cannot add any package after adding private registry within an empty environment Sep 29, 2021
@GunnarFarneback
Copy link
Owner

The easiest solution is to do ]registry add General ... to install both General and your own registry at the same time.
There's not so much LocalRegistry can do about this except possibly mention it somewhere in the documentation.

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

Successfully merging a pull request may close this issue.

2 participants