zoukankan      html  css  js  c++  java
  • 更新OS X El Capitan系统后,brew update报错,解决方案

    报错结果:

    bash-3.2# brew update

    Error: Cowardly refusing to `sudo brew update`

     

    解决方案:

    顺序执行以下即可:

    ls -al `which brew`

    sudo chown root:wheel `which brew`

    sudo chown : `chown brew`

     

    执行结果: 

    bash-3.2# ls -al `which brew`
    -rwxr-xr-x  1 huanghonglin  admin  791 10 26 15:57 /usr/local/bin/brew
    bash-3.2# sudo chown root:wheel `which brew`
    bash-3.2# sudo chown : `chown brew`
    usage: chown [-fhv] [-R [-H | -L | -P]] owner[:group] file ...
           chown [-fhv] [-R [-H | -L | -P]] :group file ...
    usage: chown [-fhv] [-R [-H | -L | -P]] owner[:group] file ...
           chown [-fhv] [-R [-H | -L | -P]] :group file ...
    bash-3.2# brew update
    Updated Homebrew from eabf890b to ec15ed4a.
    ==> New Formulae
    appledoc                   postgrest                  walkmod                  
    docker-machine-parallels   unicorn                  
    ==> Updated Formulae
    appscale-tools  docker-machine  epubcheck       libressl        sonar         
    caf             docker-swarm    fzf             logtalk         sqlite        
    cake            elasticsearch   git             macvim        
    dmd             embulk          jpeg-turbo      monetdb       
    docker-compose  entr            kubernetes-cli  pyenv         
    ==> Renamed Formulae
    cyassl -> wolfssl
  • 相关阅读:
    计算与软件工程作业四
    计算与软件工程作业四(一)
    计算与软件工程作业三
    计算与软件工程作业二
    计算与软件工程作业一
    4.2上机课作业
    java第三次作业
    java第一次作业 2020 3.7
    十三周上机练习
    第十二周作业
  • 原文地址:https://www.cnblogs.com/S-yesir/p/4942431.html
Copyright © 2011-2022 走看看