V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Marthers
V2EX  ›  问与答

修复 Homebrew 误删 Cellar 文件夹

  •  
  •   Marthers · May 29, 2017 · 3111 views
    This topic created in 3262 days ago, the information mentioned may be changed or developed.
    Homebrew 之前一直无法 update,按照网上教程
    rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup
    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/instal l/master/install)"

    之后很多工具用不了了,系统剪切板也无效了,用 brew doctor 报出以下错误:
    Warning: Unbrewed dylibs were found in /usr/local/lib.
    If you didn't put them there on purpose they could cause problems when
    building Homebrew formulae, and may need to be deleted.

    Warning: Unbrewed header files were found in /usr/local/include.
    If you didn't put them there on purpose they could cause problems when
    building Homebrew formulae, and may need to be deleted.

    求各位大神支支招,万分感谢!
    1 replies    2017-05-30 00:10:18 +08:00
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2668 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 09:59 · PVG 17:59 · LAX 02:59 · JFK 05:59
    ♥ Do have faith in what you're doing.