0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Homebrewでつまづいたこと

Posted at
  • brew updateでエラー
  • brew doctorを行うとたくさんのエラーたちが・・・orz

主なエラーさん達

  • Warning:/usr/local/bin isn't writable.
  • Warning: /usr/local/share isn't writable.
  • Warning: Some directories in /usr/local/share/man aren't writable.
  • Warning: You have unlinked kegs in your Cellar
  • Warning: You have uncommitted modifications to Homebrew

解決方法

  • 大体はエラーと共に解決方法が出てくるので、それを行う

メモ

  • $(whoami)を使うとユーザ名が勝手に入る。ブラボー
  • sudo chgrp 対象グループ 対象ディレクトリ名も忘れずに?
    • 例:sudo chgrp admin /hoge/hoge
  • You have unlinked kegs in your Cellar
    • 今回はansibleで怒られたので、下記の様にした
      • brew link ansible
  • Warning: You have uncommitted modifications to Homebrew
    • インストールしたときのGitのゴミファイルが残ってる
      • cd /usr/local/Library && git stash && git clean -d -fで解決

今後も何かあれば追加していきます

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?