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

curl silently fails if ~/perl5/perlbrew/dists does not exist #805

Open
leonerd opened this issue Jun 10, 2024 · 1 comment
Open

curl silently fails if ~/perl5/perlbrew/dists does not exist #805

leonerd opened this issue Jun 10, 2024 · 1 comment

Comments

@leonerd
Copy link

leonerd commented Jun 10, 2024

I already had a ~/perl5/perlbrew/ directory in place for unrelated reasons, but it did not contain the dists/ subdirectory. Attempting a new install in this situation makes curl fail with error code 23 (harder to debug because of the --silent option). Manually testing the command that it printed but without --silent soon leads to discovering the problem. A simple

mkdir ~/perl5/perlbrew/dists

solved the problem.

@gugod
Copy link
Owner

gugod commented Jun 12, 2024

The directory ~/perl5/perlbrew/dists is supposed to be made by running perlbrew init.... although I guess it would not hurt to let perlbrew to automatically create it right before it is needed.

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