LoginSignup
31
28

More than 5 years have passed since last update.

久々にbrew updateしたらbrew doctorで brew-caskがconflictしているとWarningが出た

Last updated at Posted at 2016-01-04

年が代わりましたのでお作法として

brew doctor

したところ、out of dateというありがたいお告げを受けましたのですかさず

brew update

しかし、その後のbrew doctorでWarningが。

Warning: You have external commands with conflicting names.

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

調べてみると、どうやらHomebrew-CaskはHomwbrewに一体化された模様
https://github.com/caskroom/homebrew-cask
の冒頭から引用

Homebrew-Cask
Important December update: Homebrew-Cask will now be kept up to date together with Homebrew (see #15381 for details). If you haven’t yet, run brew uninstall --force brew-cask; brew update to switch to the new system.
Important: At some point in the future Homebrew-cask will change its behaviour from linking apps to moving them. See issue #13201 for details.

そんなわけで指定されたコマンドを実行

brew uninstall --force brew-cask; brew update

これで無事Warningが出なくなりました。

参考
http://apple.stackexchange.com/questions/218999/how-to-deal-with-commands-of-conflicting-names-listed-in-brew-doctor

31
28
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
31
28