brew update でエラー
brew updateでエラーが発生した時のメモ。
error: The following untracked working tree files would be overwritten by merge:
Library/Formula/appledoc.rb
Library/Formula/dromeaudio.rb
Library/Formula/pdf2svg.rb
Library/Formula/tcpurify.rb
Please move or remove them before you can merge.
Aborting
Error: Failure while executing: git pull -q origin refs/heads/master:refs/remotes/origin/master
とりあえず書かれている通りに退避する。
cd /usr/local/Library/Formula
mv appledoc.rb appledoc.rb.org
mv dromeaudio.rb dromeaudio.rb.org
mv pdf2svg.rb pdf2svg.rb.org
mv tcpurify.rb tcpurify.rb
もう一度アップデートする。Warningが発生したけど成功。
brew update
Warning: Could not create link for homebrew/dupes/fetchmail, as it
conflicts with Homebrew/homebrew/fetchmail. You will need to use the
fully-qualified name when referring this formula, e.g.
brew install homebrew/dupes/fetchmail
Warning: Could not create link for homebrew/dupes/gdb, as it
conflicts with Homebrew/homebrew/gdb. You will need to use the
fully-qualified name when referring this formula, e.g.
brew install homebrew/dupes/gdb
Updated Homebrew from 0385f80f to 78203f9c.
Warningがきになるけどとりえあえずインストールできたので、競合っぽいしこれはあとで調べよう。
Author And Source
この問題について(brew update でエラー), 我々は、より多くの情報をここで見つけました https://qiita.com/mogetarou/items/cd2f0537b6282344d110著者帰属:元の著者の情報は、元の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 .