2016-08-19 65 views
1

突然BREW是給我警告外部命令:啤酒:與衝突的名字

Warning: You have external commands with conflicting names. 

Found command `brew-cask-tests` in following places: 
    /usr/local/Library/Taps/caskroom/homebrew-cask/cmd/brew-cask-tests.rb 
    /usr/local/Library/Homebrew/cask/cmd/brew-cask-tests.rb 

Found command `brew-cask` in following places: 
    /usr/local/Library/Taps/caskroom/homebrew-cask/cmd/brew-cask.rb 
    /usr/local/Library/Homebrew/cask/cmd/brew-cask.rb 

我能做些什麼呢?

回答

0

對我來說,此修復程序是運行以下命令:

brew update && brew uninstall --force brew-cask

這似乎與最近變化的木桶包裝: https://github.com/caskroom/homebrew-cask/releases/tag/v0.60.0

「注意:這是最終發佈的Homebrew-cask。截至本次發佈時,不再需要衝泡安裝brew-cask。

brew tap caskroom/cask將安裝brew-cask作爲自制外部命令,brew update將使其保持最新狀態。

您可以brew update && brew uninstall --force brew-cask清理。」