2012-04-20 22 views
9

Tôi sẽ thông qua các thông điệp bác sĩ nhà brew của tôi và không có vấn đề gì tôi làm tôi dường như không thể xoá bài viết này:bác sĩ brew homebrew không nhắn

Cảnh báo: Bạn có thay đổi không bị giam đến lõi Homebrew của.

Trừ khi bạn biết những gì bạn đang làm, bạn nên chạy: cd /usr/local && git reset --hard

Có ai có bất kỳ ý tưởng về làm thế nào để thoát khỏi điều này?

Từ tình trạng git/usr/local

# Library/Aliases/dwarffortress 
# Library/Aliases/ultima4 
# Library/Aliases/ultima7 
# Library/Contributions/examples/ 
# Library/Formula/abfind.rb 
# Library/Formula/abuse.rb 
# Library/Formula/akonadi.rb 
# Library/Formula/angband.rb 
# Library/Formula/apc.rb 
# Library/Formula/aqua-less.rb 
# Library/Formula/argp-standalone.rb 
# Library/Formula/attica.rb 
# Library/Formula/bashreduce.rb 
# Library/Formula/c10t.rb 
# Library/Formula/chocolate-doom.rb 
# Library/Formula/cmigemo.rb 
# Library/Formula/coffee-script.rb 
# Library/Formula/csstidy.rb 
# Library/Formula/dosbox.rb 
# Library/Formula/dotless.rb 
# Library/Formula/dwarf-fortress.rb 
# Library/Formula/exult.rb 
# Library/Formula/flip.rb 
# Library/Formula/frobtads.rb 
# Library/Formula/frotz.rb 
# Library/Formula/gearman-php.rb 
# Library/Formula/gnu-chess.rb 
# Library/Formula/gnu-go.rb 
# Library/Formula/growlme.rb 
# Library/Formula/imagick.rb 
# Library/Formula/inform6.rb 
# Library/Formula/jnethack.rb 
# Library/Formula/jwhois.rb 
# Library/Formula/kde-phonon.rb 
# Library/Formula/kdebase-runtime.rb 
# Library/Formula/kdelibs.rb 
# Library/Formula/kdepimlibs.rb 
# Library/Formula/libgdiplus.rb 
# Library/Formula/libiconv.rb 
# Library/Formula/libsgml.rb 
# Library/Formula/maatkit.rb 
# Library/Formula/mcrypt-php.rb 
# Library/Formula/mednafen.rb 
# Library/Formula/memcache-php.rb 
# Library/Formula/memcached-php.rb 
# Library/Formula/memcachedb.rb 
# Library/Formula/midgard2-php.rb 
# Library/Formula/mongo-php.rb 
# Library/Formula/n2n.rb 
# Library/Formula/nazghul.rb 
# Library/Formula/nethack.rb 
# Library/Formula/netris.rb 
# Library/Formula/ninja.rb 
# Library/Formula/open-tyrian.rb 
# Library/Formula/orderly.rb 
# Library/Formula/oxygen-icons.rb 
# Library/Formula/parsley.rb 
# Library/Formula/pbrt.rb 
# Library/Formula/pcntl-php.rb 
# Library/Formula/phpmyadmin.rb 
# Library/Formula/pioneers.rb 
# Library/Formula/platypus.rb 
# Library/Formula/pspell-php.rb 
# Library/Formula/qimageblitz.rb 
# Library/Formula/robotfindskitten.rb 
# Library/Formula/shared-desktop-ontologies.rb 
# Library/Formula/shen.rb 
# Library/Formula/slashem.rb 
# Library/Formula/solr-php.rb 
# Library/Formula/soprano.rb 
# Library/Formula/sparse.rb 
# Library/Formula/spim.rb 
# Library/Formula/stone-soup.rb 
# Library/Formula/strigi.rb 
# Library/Formula/uggconv.rb 
# Library/Formula/unnethack.rb 
# Library/Formula/voldemort.rb 
# Library/Formula/woof.rb 
# Library/Formula/xboard.rb 
# Library/Formula/xcache.rb 
# Library/Formula/xdebug.rb 
# Library/Formula/xmoto.rb 
# Library/Formula/xu4.rb 
# Library/Homebrew/test/tests 
+0

Nó không cho bạn biết chính xác làm thế nào để thoát khỏi nó? Bạn đã thử điều đó chưa? –

+0

Điều này giống với câu hỏi trước đó của bạn; IMO nó không nên được yêu cầu một lần nữa. –

+0

có thể trùng lặp của [OSX Lion Homebrew "brew cài đặt mysql -v" vấn đề] (http://stackoverflow.com/questions/10238393/osx-lion-homebrew-brew-install-mysql-v-problems) –

Trả lời

20

Sau khi đăng trên các vấn đề homebrew đăng nhập https://github.com/mxcl/homebrew/issues/11761 tôi đã có thể để xóa lỗi bằng cách chạy git clean -df và một lần mà xong brew doctor. Sau khi hoàn thành, bạn sẽ thấy:

Your system is raring to brew. 
+6

Chỉ cần rõ ràng vì tôi đã bỏ lỡ nó: chạy lệnh 'git clean -df' trong thư mục/usr/local. –

+3

Đảm bảo chạy khô để kiểm tra lại những gì đang được làm sạch: 'git clean -dfn'. Chỉ cần một lời nhắc nhở thân thiện rằng không có cách nào để hoàn tác một git sạch sẽ. –

Các vấn đề liên quan