Error: Could not link: /usr/local/share/doc/homebrew
2017-12-13 13:58
656 查看
文章转自:http://c.n-di.com/2017/07/17/1827.html
版权归原作者!
mac 执行brew update 报错
解决办法
版权归原作者!
mac 执行brew update 报错
Error: Could not link: /usr/local/share/doc/homebrew
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/zsh/site-functions/_brew
Please delete these paths and run `brew update`.
Error: Could not link:
/usr/local/share/man/man1/brew.1
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`.
解决办法
rm -rf /usr/local/etc/bash_completion.d/brew rm -rf /usr/local/share/zsh/site-functions/_brew rm -rf /usr/local/share/man/man1/brew.1 rm -rf /usr/local/share/doc/homebrew brew update
相关文章推荐
- Error: Could not link: /usr/local/share/doc/homebrew
- 关于homebrew使用时遇到的问题: Error: Could not symlink bin/gdb/usr/local/bin is not writable.
- Error: Could not link:/usr/local/etc/bash_completion.d/brew
- Error: Could not link: /usr/local/etc/bash_completion.d/brew
- Could not use /usr/local/apache/logs/slowquery.log for logging (error 13).
- Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'!
- Homebrew: Could not symlink, /usr/local/* is not writable
- could not open extension control file "/usr/local/pgsql/share/extension/fuzzystrmatch.control"
- error: could not create '/usr/local/lib/python2.7/dist-packages/jieba': Permission denied
- Could not link: /usr/local/etc/bash_completion.d/brew
- 解决could not create leading directories of '/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask':
- nagios 页面发送命令异常 Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update!
- error: tic: undefined symbol: _nc_check_termtype2 ? tic could not build /usr/share/terminfo
- ubuntu出现ERROR: Could not find 'wxe_driver.so' in: /usr/local/bin/erlang/lib/wx-1.2/priv
- 运行apache时,发生错误:could not open error log file /usr/local/apache/logs/error_log
- WARNING: The host 'r6' could not be looked up with /usr/local/mysql/bin/resolveip.
- /usr/local/lib/libpython2.7.a: could not read symbols: Bad value. collect2: ld retur ned 1 exit
- 异常 Caused by: org.apache.hadoop.util.DiskChecker$DiskErrorException: Could not find any valid local
- /usr/local/lib/libz.a: could not read symbols: Bad value(64 位 Linux)
- php make报错:/usr/local/openssl/lib/libssl.a: could not read symbols: Bad value