One-line binary install script does not give an error when cannot establish HTTPS connection
bwobst opened this issue · comments
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?
- I have read chezmoi's user guide, and not found the answer.
- I have searched chezmoi's reference guide, and not found the answer.
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?
This is almost certainly a temporary issue on GitHub's side. Try again in 30 minutes or so.
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
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.