2016-11-18 9 views
0

elasticsearchのアップグレード中に、 "elasticsearch13"と呼ばれる古い自作式がインストールされていました。廃止された自作式をアンインストールすることができません

$ brew list | grep elastic 
elasticsearch13 

この式は廃止されており、を除去します。

$ brew uninstall elasticsearch13 
Error: No available formula with the name "elasticsearch13" 

医者はずっと私に言っていない...

$ brew doctor 
Please note that these warnings are just used to help the Homebrew maintainers 
with debugging if you file an issue. If everything you use Homebrew for is 
working fine: please don't worry and just ignore them. Thanks! 

Warning: Unbrewed header files were found in /usr/local/include. 
If you didn't put them there on purpose they could cause problems when 
building Homebrew formulae, and may need to be deleted. 

Unexpected header files: 
    /usr/local/include/python2.7/greenlet/greenlet.h 

Warning: Your Xcode (8.0) is outdated. 
Please update to Xcode 8.1 (or delete it). 
Xcode can be updated from the App Store. 

がどのように私はそれを削除することができます。この式をアンインストールしようとすると、私は警告を与えていますか?

答えて

0

心配はありませんが、それを自分で解決:

は、(それが削除された前の)最後はgithub.com/Homebrew/homebrew-versionsのコミット見つけて、それをダウンロードします。run

cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula 
curl https://raw.githubusercontent.com/Homebrew/homebrew-versions/2fabaf8210b1c9addc20e87da8c961aced58e2eb/elasticsearch13.rb > elasticsearch13.rb 

アンインストールをスクリプト:

brew uninstall elasticsearch13 
rm elasticsearch13.rb