MacをEl Capitanにして、brewがエラーになった時の対処法
brewのエラー内容
$ brew update
Error: The /usr/local directory is not writable.
Even if this directory was writable when you installed Homebrew, other
software may change permissions on this directory. Some versions of the
"InstantOn" component of Airfoil are known to do this.
You should probably change the ownership and permissions of /usr/local
back to your user account.
sudo chown -R $(whoami):admin /usr/local
解決方法
You should probably change the ownership and permissions of /usr/local
back to your user account.
権限を変更したほうがいいかもしれない。
参考:「You should probably」:したほうがいいかもしれない
http://ejje.weblio.jp/content/You+should+probably
と言われたので、
権限を変更。
$ sudo chown -R $(whoami):admin /usr/local
確認。
$ brew update
Already up-to-date.
Author And Source
この問題について(MacをEl Capitanにして、brewがエラーになった時の対処法), 我々は、より多くの情報をここで見つけました https://qiita.com/_am_/items/1db9255aa28c55075bc3著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .