Mac에서 Homebrew사용하다 에러 날때

컴퓨터 2011/03/27 14:04 Posted by StudioEgo


Mac에서 Homebrew로 패키지를 관리하다 업데이트를 하니 아래와 같은 에러가 났습니다. -_-;;


$ brew update

From http://github.com/mxcl/homebrew

 * branch            master     -> FETCH_HEAD

error: Your local changes to the following files would be overwritten by merge:

Library/Formula/argp-standalone.rb

Library/Formula/aria2.rb

Library/Formula/aspell.rb

Library/Formula/audiofile.rb

Library/Formula/bdw-gc.rb

Library/Formula/boost.rb

Library/Formula/cdargs.rb

Library/Formula/cdparanoia.rb

Library/Formula/cdrdao.rb

Library/Formula/celt.rb

Library/Formula/clisp.rb

Library/Formula/ctags.rb

Library/Formula/d-bus.rb

Library/Formula/dbus-glib.rb

Library/Formula/dialog.rb

Library/Formula/dirac.rb

Library/Formula/dotless.rb

Library/Formula/elinks.rb

Library/Formula/emacs.rb

Library/Formula/erlang.rb

Library/Formula/flac.rb

Library/Formula/flusspferd.rb

Library/Formula/fontforge.rb

Library/Formula/frink.rb

Library/Formula/gambit-scheme.rb

Library/Formula/gawk.rb

Library/Formula/gd.rb

Library/Formula/glib.rb

Library/Formula/gmp.rb

Library/Formula/gnutls.rb

Library/Formula/google-app-engine.rb

Library/Formula/google-perftools.rb

Library/Formula/gpgme.rb

Library/Formula/graphicsmagick.rb

Library/Formula/gtk+.rb

Library/Formula/guile.rb

Library/Formula/hydra.rb

Library/Formula/id3lib.rb

Library/Formula/igraph.rb

Library/Formula/intltool.rb

Library/Formula/jasper.rb

Library/Formula/jnethack.rb

Library/Formula/john.rb

Library/Formula/libao.rb

Library/Formula/libevent.rb

Library/Formula/libexif.rb

Library/Formula/libsigsegv.rb

Library/Formula/libspatialite.rb

Library/Formula/libvirt.rb

Library/Formula/libvpx.rb

Library/Formula/libxml2.rb

Library/Formula/log4cxx.rb

Library/Formula/lua.rb

Library/Formula/monotone.rb

Library/Formula/mosh.rb

Library/Formula/mpd.rb

Library/Formula/mplayer.rb

Library/Formula/mysql-connector-c.rb

Library/Formula/mysql.rb

Library/Formula/nethack.rb

Library/Formula/nmap.rb

Library/Formula/node.rb

Library/Formula/octave.rb

Library/Formula/pango.rb

Library/Formula/parsley.rb

Library/Formula/pbzip2.rb

Library/Formula/pcre.rb

Library/Formula/pdflib-lite.rb

Library/Formula/phpsh.rb

Library/Formula/portaudio.rb

Library/Formula/povray.rb

Library/Formula/proj.rb

Library/Formula/protobuf.rb

Library/Formula/psgrep.rb

Library/Formula/pv.rb

Library/Formula/rabbitmq.rb

Library/Formula/ranger.rb

Library/Formula/rebar.rb

Library/Formula/redis.rb

Library/Formula/redland.rb

Library/Formula/ruby-enterprise-edition.rb

Library/Formula/ruby.rb

Library/Formula/sbcl.rb

Library/Formula/silk.rb

Library/Formula/spatialite-tools.rb

Library/Formula/sphinx.rb

Library/Formula/spin.rb

Library/Formula/streamripper.rb

Library/Formula/swi-prolog.rb

Library/Formula/syck.rb

Library/Formula/tesseract.rb

Library/Formula/ufraw.rb

Library/Formula/unittest.rb

Library/Formula/valgrind.rb

Library/Formula/visualboyadvance.rb

Library/Formula/vpnc.rb

Library/Formula/w3m.rb

Library/Formula/wine.rb

Library/Formula/x264.rb

Library/Formula/xchat.rb

Library/Formula/yaf.rb

Library/Formula/zeromq.rb

Library/Homebrew/compatibility.rb

Library/Homebrew/exceptions.rb

Library/Homebrew/extend/pathname.rb

Library/Homebrew/formula.rb

Library/Homebrew/test/test_versions.rb

Please, commit your changes or stash them before you can merge.

Updating cb377cb..4eb8e9b

Aborting

Error: Failed while executing git pull http://github.com/mxcl/homebrew.git master

$


해결방법은 아래와 같이 하면 됩니다.

sudo chown -R `whoami` /usr/local
cd /usr/local
git reset --hard master


아래는 문제 해결후 메시지입니다. Homebrew가 업데이트 안되어서 식겁했습니다 ㅠㅠ 



$ git reset --hard  master

HEAD is now at cb377cb Update polipo to 1.0.4.1.

Dae-Hyun-Sung-ui-MacBook-Pro:local studioego$ brew update

From http://github.com/mxcl/homebrew

 * branch            master     -> FETCH_HEAD

Updated Homebrew from cb377cbb to 4eb8e9b4.

==> The following formulae are new:

gdk-pixbuf  tcpstat

==> The following formulae were updated:

argp-standalone   gd*      lua* redis

aria2   glib*      monotone redland

aspell*   gmp*      mosh ruby*

audiofile   gnutls*      mpd ruby-enterprise-edition

bdw-gc   google-app-engine      mplayer* sbcl

boost   google-perftools      mysql silk

cdargs   gpgme      mysql-connector-c* spatialite-tools

cdparanoia*   graphicsmagick*      nethack sphinx

cdrdao   gtk+*      nmap spin

celt   guile      node streamripper

clisp   hydra      octave swi-prolog*

ctags*   id3lib      pango* syck

d-bus*   igraph      parsley tesseract

dbus-glib   intltool*      pbzip2 ufraw

dialog   jasper*      pcre* unittest

dirac*   jnethack      pdflib-lite valgrind*

dotless   john      phpsh visualboyadvance

elinks   libao      portaudio vpnc

emacs   libevent*      povray w3m

erlang   libexif*      proj* wine

flac*   libsigsegv      protobuf x264*

flusspferd   libspatialite      psgrep xchat

fontforge   libvirt      pv yaf

frink   libvpx*      rabbitmq zeromq

gambit-scheme   libxml2*      ranger

gawk*   log4cxx      rebar

No external commands were updated.



저작자 표시 비영리 동일 조건 변경 허락

크리에이티브 커먼즈 라이선스
Creative Commons License

저는 초등학교 3학년때 역삼동 아부지 회사에서 접해보았던 Netscape Browser를 보고 인터넷에 빠져들었습니다. Web에 대해 관심이 많으며 일본 애니메이션과 여러 음악을 좋아합니다.
블로그 : http://blog.studioego.info
Twitter: @studioego
이 글은 StudioEgo 가 작성하였습니다.

http://blog.studioego.info/trackback/2907 관련글 쓰기

  1. brew update 에러

    2011/10/06 04:59 Tracked from A Kind of Magic  삭제

    출처 : http://studioego.tistory.com/2907 Mac에서 Homebrew로 패키지를 관리하다 업데이트를 하니 아래와 같은 에러가 났습니다. -_-;; $ brew update From http://github.com/mxcl/homebrew * branch master -> FETCH_HEAD error: Your local changes to the following files would be overwritten by me..

댓글을 달아 주세요

  1. Favicon of http://www.tfsupplements.com/store/cart.php?m=product_detail&p=3555 BlogIcon hyper fx 2011/11/23 15:48  댓글주소  수정/삭제  댓글쓰기

    This work Korea Creative Commons Attribution-Noncommercial-Share Alike 2.0 Republic of Korea can be used under license.

  2. Favicon of http://www.customessayhelp.com/write-my-essay.html BlogIcon write my essay 2012/03/14 14:39  댓글주소  수정/삭제  댓글쓰기

    i was looking for a long time

  3. Favicon of http://www.personalstatementwriters.com/ BlogIcon personal statement writing service 2012/03/19 21:25  댓글주소  수정/삭제  댓글쓰기

    I discovered your blog site on Google and check a few of your early posts. Continue to keep up the very good operate. I just additional up your RSS feed to my MSN News Reader.아래와

  4. Favicon of http://www.annuityace.com/hybrid-annuities/how-hybrid-annuity-works/ BlogIcon hybrid income annuity 2012/03/24 23:15  댓글주소  수정/삭제  댓글쓰기

    This work Korea Creative Commons Attribution-Noncommercial-Share Alike 2.0 Republic of Korea can be used under license.래와

  5. Favicon of http://www.immediateannuitypro.com/fixed-immediate-annuity/ BlogIcon fixed immediate annuity 2012/03/24 23:16  댓글주소  수정/삭제  댓글쓰기

    This is a very useful!I’m still waiting for some interesting thoughts.따

  6. Favicon of http://www.gatorsportsnation.com/ BlogIcon florida gator forum 2012/04/03 12:13  댓글주소  수정/삭제  댓글쓰기

    This is my favorite web site.The postings are very unique and also out standing performance with the new creativity and excellency with the new different ideas and concepts.Really I am waiting for some more new posts from you.Keep up your excellency.

  7. Favicon of http://www.hollisteruk.eu BlogIcon hollister uk shop 2012/05/19 13:11  댓글주소  수정/삭제  댓글쓰기

    By creating distinct looks within the Shiny Metallic Catsuit with Hollow Bust confines with the red carpet, they convey a bit of who they're to the globe.