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

Error installing consul on MacOSX with homebrew #1828

Closed
kekscode opened this issue Mar 13, 2016 · 2 comments
Closed

Error installing consul on MacOSX with homebrew #1828

kekscode opened this issue Mar 13, 2016 · 2 comments

Comments

@kekscode
Copy link

I am trying to install consulas described in the getting started guide using brew cask install consul.

This throws an error on my system: Error: Cask 'consul' definition is invalid: Bad header line: parse failed

The same error occurs when trying brew cask info consul and brew cask audit consul.

brew cask cat consultells me:

cask 'consul' do
  version '0.6.3'
  sha256 '6dff4ffc61d66aacd627a176737b8725624718a9e68cc81460a3df9b241c7932'

  # hashicorp.com was verified as official when first introduced to the cask
  url "https://releases.hashicorp.com/consul/#{version}/consul_#{version}_darwin_amd64.zip"
  appcast 'https://github.com/hashicorp/consul/releases.atom',
          checkpoint: '5ac89b32dd4234f5a7af642046cf8b053e704559b522e11c4672550638e5fbda'
  name 'Consul'
  homepage 'https://www.consul.io/'
  license :mpl

  binary 'consul'
end

I already did brew update and brew cleanup before. The brew doctor command doesn't tell me about any errors.

Any suggestions?


I just tried the non-cask variant. This seems to work:

$> brew install consul
==> Downloading https://homebrew.bintray.com/bottles/consul-0.6.3.el_capitan.bottle.tar.gz
######################################################################## 100,0%
==> Pouring consul-0.6.3.el_capitan.bottle.tar.gz
==> Caveats
If consul was built with --with-web-ui, you can activate the UI by running
consul with `-ui-dir /usr/local/Cellar/consul/0.6.3/share/consul/web-ui`.
==> Summary
🍺  /usr/local/Cellar/consul/0.6.3: 2 files, 19.3M
@slackpad
Copy link
Contributor

Hi @suchkultur I think this is related to having an old Homebrew installation. These steps got things working for me:

Homebrew/homebrew-cask#15930 (comment)

@hiejulia
Copy link

Try brew cask install consul-cli

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

3 participants