【发布时间】:2017-01-27 02:02:14
【问题描述】:
我已经使用 homebrew 成功安装了 rvm 和 ocaml 包,但我一直想知道$ brew update 输出末尾的错误。例如,当我刚才运行它时,bash 输出是:
Error: Could not link:
/usr/local/etc/bash_completion.d/brew
Please delete these paths and run `brew update`.
Error: Could not link:
/usr/local/share/doc/homebrew
Please delete these paths and run `brew update`.
Error: Could not link:
/usr/local/share/zsh/site-functions/_brew
Please delete these paths and run `brew update`.
Error: Could not link:
/usr/local/share/man/man1/brew-cask.1
/usr/local/share/man/man1/brew.1
我的同事说不用担心,但是……我担心。我能做些什么来修复它们?只需运行rm 并完全消除“删除我”路径和mkdir 无法链接的路径?
【问题讨论】: