Brew:具有冲突名称的外部命令

时间:2016-08-19 19:09:45

标签: warnings homebrew

突然酿造给我警告:

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

我该怎么办?

1 个答案:

答案 0 :(得分:0)

对我来说,修复是运行以下命令:

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

这似乎与最近对cask包的更改有关: https://github.com/caskroom/homebrew-cask/releases/tag/v0.60.0

  

“注意这是Homebrew-cask的最终版本。截至本版本,不再需要酿造安装brew-cask。

     

brew tap caskroom/cask将安装brew-cask作为Homebrew外部命令,brew update将使其保持最新状态。

     

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