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

Can't install eksctl via Homebrew on macOS Big Sur #2846

Closed
egel opened this issue Nov 16, 2020 · 5 comments
Closed

Can't install eksctl via Homebrew on macOS Big Sur #2846

egel opened this issue Nov 16, 2020 · 5 comments
Labels
kind/help Request for help

Comments

@egel
Copy link

egel commented Nov 16, 2020

As a ekscli user
I need to be able to install eksctl on macOS BigSur
so I can manage my AWS EKS cluster

Steps to replicate error:

I was following https://docs.aws.amazon.com/eks/latest/userguide/eks-ug.pdf#getting-started and wanted to install ekscli via Homebrew. The installation is throwing an error.

→ brew install weaveworks/tap/eksctl
Warning: You are using macOS 11.0.
We do not provide support for this released but not yet supported version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
released but not yet supported version.

==> Installing eksctl from weaveworks/tap
==> Downloading https://homebrew.bintray.com/bottles/kubernetes-cli-1.19.4.big_sur.bottle.tar.gz
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/fc37b7498498b8c56ad659f51ca8360be611bd82438d35e835c13804520d641d?response-content-disposition=attachment%3Bfilename%3D%22kubernetes-cli-1.19.4.big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0dHAqOi8vZDI5dnprNG93M
######################################################################## 100.0%
==> Downloading https://github.com/weaveworks/eksctl/releases/download/0.31.0/eksctl_Darwin_amd64.tar.gz
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/134539560/b3fc5380-21fe-11eb-8c06-b470fcc20113?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201116%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201116T155506Z&X-Amz-Expires=300&X-A
######################################################################## 100.0%
==> Installing dependencies for weaveworks/tap/eksctl: kubernetes-cli
==> Installing weaveworks/tap/eksctl dependency: kubernetes-cli
==> Pouring kubernetes-cli-1.19.4.big_sur.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/kubectl
Target /usr/local/bin/kubectl
already exists. You may want to remove it:
  rm '/usr/local/bin/kubectl'

To force the link and overwrite all conflicting files:
  brew link --overwrite kubernetes-cli

To list all files that would be deleted:
  brew link --overwrite --dry-run kubernetes-cli

Possible conflicting files are:
/usr/local/bin/kubectl -> /Applications/Docker.app/Contents/Resources/bin/kubectl
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completions have been installed to:
  /usr/local/share/zsh/site-functions
==> Summary
🍺  /usr/local/Cellar/kubernetes-cli/1.19.4: 231 files, 49MB
==> Installing weaveworks/tap/eksctl
Error: Your CLT does not support macOS 11.0.
It is either outdated or was modified.
Please update your CLT or delete it if no updates are available.
Error: An exception occurred within a child process:
  SystemExit: exit

My system:

→ uname -a
Darwin mforge 20.1.0 Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:11 PDT 2020; root:xnu-7195.50.7~2/RELEASE_X86_64 x86_64

Screenshot 2020-11-16 at 17 07 00

@egel egel added the kind/help Request for help label Nov 16, 2020
@egel
Copy link
Author

egel commented Nov 17, 2020

Using README and I could bypass brew and install eksctl on Big Sur directly by doing:

curl --silent --location "https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_$(uname -s)_amd64.tar.gz" | tar xz -C /tmp
sudo mv /tmp/eksctl /usr/local/bin

@michaelbeaumont
Copy link
Contributor

michaelbeaumont commented Nov 17, 2020

It seems like homebrew doesn't support Big Sur right now and this error seems unrelated to eksctl. Do other formulas work for you? Please see Homebrew/brew#8797 and Homebrew/brew#7857

I'm closing this for now (please do comment again if you run into issues related to eksctl).

@egel
Copy link
Author

egel commented Nov 24, 2020

FYI: What actually helped me to install eksctl through the brew, was a reinstalling CommandLineTools (see: https://apple.stackexchange.com/a/402377/236340) and then I could normally install it with:

brew tap weaveworks/tap
brew install weaveworks/tap/eksctl

@OneideLuizSchneider
Copy link

Using README and I could bypass brew and install eksctl on Big Sur directly by doing:

curl --silent --location "https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_$(uname -s)_amd64.tar.gz" | tar xz -C /tmp
sudo mv /tmp/eksctl /usr/local/bin

Thanks @egel
Worked like a charm

@abilalzengin
Copy link

abilalzengin commented Nov 30, 2022

thanks a lot @egel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/help Request for help
Projects
None yet
Development

No branches or pull requests

4 participants