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

One-line binary install script does not give an error when cannot establish HTTPS connection #3756

Open
2 tasks done
bwobst opened this issue May 9, 2024 · 4 comments
Open
2 tasks done
Labels
bug Something isn't working support Support request

Comments

@bwobst
Copy link

bwobst commented May 9, 2024

What exactly are you trying to do?

I'm trying to install Chezmoi on a fresh Ubuntu Desktop instance.

The command:

sh -c "$(curl -fsLS get.chezmoi.io)"

The output:

error real_tag error retrieving GitHub release latest

Where else have you checked for solutions?

Output of any commands you've tried with --verbose flag

N/A

Output of chezmoi doctor

N/A

Additional context

This command worked about an hour ago when I was setting up an identical Ubuntu Desktop instance. Perhaps the latest tag got botched accidentally?

@bwobst bwobst added the support Support request label May 9, 2024
@twpayne
Copy link
Owner

twpayne commented May 9, 2024

This is almost certainly a temporary issue on GitHub's side. Try again in 30 minutes or so.

@bradenhilton
Copy link
Collaborator

@twpayne It's possible that this could also be a factor in #3749, though there isn't a great way to know for sure.

@bwobst
Copy link
Author

bwobst commented May 10, 2024

Closing the loop on this issue. The fix was to install a few additional dependencies:

sudo apt install apt-transport-https ca-certificates software-properties-common

@bwobst bwobst closed this as completed May 10, 2024
@twpayne twpayne added the bug Something isn't working label May 10, 2024
@twpayne
Copy link
Owner

twpayne commented May 10, 2024

Thanks for the investigation here. I suspect that the only package you actually need is ca-certificates. In any case, the one line install script should give a meaningful error message when it can't establish an authenticated connection to GitHub. So, I'll re-open this issue as a bug.

@twpayne twpayne reopened this May 10, 2024
@twpayne twpayne changed the title Unable to install via the one-line binary install script One-line binary install script does not give an error when cannot establish HTTPS connection May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working support Support request
Projects
None yet
Development

No branches or pull requests

3 participants