由于我的mac系统上没有可用的cassandra版本而且无法在system.I中卸载cassandra.yaml文件。我卸载了所有这些文件。还删除了这些文件,因为我不确定这些文件为什么它们出现在这里
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Aliases/cassandra@3.10
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/cassandra.rb
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/cassandra@2.1.rb
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/cassandra@2.2.rb
现在再次尝试命令
brew install cassandra@2.1
gives error
Error: No available formula with the name "cassandra@2.1"
==> Searching for a previously deleted formula...
cassandra@2.1 was deleted from homebrew/core in commit 18cdc6b:
cassandra@2.1: add 2.1.13 bottle.
To show the formula before removal run:
git -C "$(brew --repo homebrew/core)" show 18cdc6b^:Formula/cassandra@2.1.rb
If you still use this formula consider creating your own tap:
http://docs.brew.sh/How-to-Create-and-Maintain-a-Tap.html
和命令
brew search cassandra
gives error
cassandra was deleted from homebrew/core in commit d20fe73:
cassandra: update 3.10_1 bottle.
To show the formula before removal run:
git -C "$(brew --repo homebrew/core)" show d20fe73^:Formula/cassandra.rb
If you still use this formula consider creating your own tap:
http://docs.brew.sh/How-to-Create-and-Maintain-a-Tap.html