LoginSignup
2
2

More than 5 years have passed since last update.

Homebrewで永らく `brew update` ができていないのを解決した

Posted at

不具合

今まで brew update をすると /usr/local/share/doc/homebrew 以下の
ファイルが unlink ができないよ!というエラーメッセージが出て
アップデートできてなかった。

一時的解決

前のエントリ参照。

原因

/usr/local/share/doc/homebrew のオーナーが root になっていた。
ユーザーが違うため unlink ができなかったっぽい。

根本的解決

sudo chown <ユーザー名> /usr/local/share/doc/homebrew

これで直った、はず。とりあえず直後の brew update は通った。

Homebrewの一般的なトラブルシューティング

  1. brew update && brew upgrade
  2. brew doctor
  3. HomebrewのTroubleshooting
  4. HomebrewのCommon Issues
2
2
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
2
2