V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
Marthers
V2EX  ›  问与答

修复 Homebrew 误删 Cellar 文件夹

  •  
  •   Marthers · 2017-05-29 23:50:49 +08:00 · 2359 次点击
    这是一个创建于 2734 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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 条回复    2017-05-30 00:10:18 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1358 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 19ms · UTC 17:34 · PVG 01:34 · LAX 09:34 · JFK 12:34
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.