The url for ant:
brew install https://raw.github.com/Homebrew/homebrew-dupes/master/ant.rb
is throwing a 404 error. Can anybody supply the updated url to the file?
Just type this command:
brew install ant
http://blog.xk72.com/post/53124504531/homebrew-dupes-installing-ant-on-mac-os-x
Related
~ % brew install curl
==> Downloading https://ghcr.io/v2/homebrew/core/brotli/manifests/1.0.9
Already downloaded: /Users/currentuser/Library/Caches/Homebrew/downloads/922ce7b351cec833f9bd2641f27d8ac011005f8b1f7e1119b8271cfb4c0d3cd7--brotli-1.0.9.bottle_manifest.json
Error: curl: Failed to download resource "brotli_bottle_manifest"
The downloaded GitHub Packages manifest was corrupted or modified (it is not valid JSON):
/Users/currentuser/Library/Caches/Homebrew/downloads/922ce7b351cec833f9bd2641f27d8ac011005f8b1f7e1119b8271cfb4c0d3cd7--brotli-1.0.9.bottle_manifest.json
My Homebrew is broken and is unable to install anything. A typical output is above
The problem was resolved after delete /Users/currentuser/Library/Caches/Homebrew/downloads/922ce7b351cec833f9bd2641f27d8ac011005f8b1f7e1119b8271cfb4c0d3cd7--brotli-1.0.9.bottle_manifest.json
and run brew install curl again
It might be using the installed curl instead of system curl.
From man brew
set HOMEBREW_FORCE_BREWED_CURL
I have also this problem with brew install php
the problem persists even after deleting all the files from
/Users/currentuser/Library/Caches/Homebrew/downloads/
and
brew install php again
i have also tried
HOMEBREW_FORCE_BREWED_CURL=1 brew install openssl
This command fixed the issue for me:
brew cleanup
I'm trying to install Dart 2.7.2.
Initially I tried to install via:
brew install https://raw.githubusercontent.com/dart-lang/homebrew-dart/fed6de080aef54c4f1c1df732424df37cd3e5a3e/dart.rb
Which gives an error:
Calling Installation of dart from a GitHub commit URL is disabled! Use 'brew extract dart' to stable tap on GitHub instead.
Next approach, I downloaded the file at:
https://raw.githubusercontent.com/dart-lang/homebrew-dart/fed6de080aef54c4f1c1df732424df37cd3e5a3e/dart.rb
And then updated DEVEL block to HEAD block, then ran:
brew install --build-from-source ./dart.rb
And now I'm getting this error:
Error: invalid attribute for formula 'dart': version ("")
And I've no idea what to do now...or how to go from here. Any tips?
Able to install connexion, but cannot install swagger-ui. How can I fix this?
You can install it by using quotes
pip install "connexion[swagger-ui]"
I was using Linuxbrew(which is a linux equivalent of homebrew) to install "ruby-build"
command used:- brew install ruby-build
and here is the error that i got,
Error: SHA1 mismatch
Expected: 2599afa039d2070bae9df6ce43da288b3a4adf97
Actual: 6d840506239fc0b47ad5c1b14bd5e3e0edbeaa60
Archive: /home/User1/.cache/Homebrew/makedepend-1.0.5.tar.bz2
To retry an incomplete download, remove the file above.
Later I tried deleting the makedepend-1.0.5.tar.bz2 file and run the above command again, still the error persists.
Typing brew install thrift in Mac terminal attempts to download and install thrift-0.9.0 from following URLs:
==> Downloading http://www.apache.org/dyn/closer.cgi?path=thrift/0.9.0/thrift-0.9.0.tar.gz
==> Best Mirror http://mirror.olnevhost.net/pub/apache/thrift/0.9.0/thrift-0.9.0.tar.gz
However I get a 404 Not Found Error.
Newest version of thrift is 0.9.1, but the brew install thrift command only tries to install 0.9.0.
How do I install Thrift using brew install?
Is this something being updated in home brew as I type? or do I need a different command?
Thanks.
For me a simple brew update did the job.
But there seems to be issues presently with osx 10.9, I'm on 10.8
brew edit thrift
#url 'http://www.apache.org/dyn/closer.cgi?path=thrift/0.9.0/thrift-0.9.0.tar.gz'
url 'file:///path/to/thrift-0.9.0.tar.gz'