RELATEED CONSULTING
相关咨询
选择下列产品马上在线沟通
服务时间:8:30-17:00
你可能遇到了下面的问题
关闭右侧工具栏

新闻中心

这里有您想知道的互联网营销解决方案
iMac终端HomeBrew无法使用

错误代码:

创新互联建站网站建设服务商,为中小企业提供做网站、成都网站制作服务,网站设计,网站运营等一站式综合服务型公司,专业打造企业形象网站,让您在众多竞争对手中脱颖而出创新互联建站

bash-3.2# brew update

Initialized empty Git repository in /usr/local/.git/

remote: Counting objects: 1163, done.

remote: Compressing objects: 100% (1067/1067), done.

remote: Total 1163 (delta 116), reused 391 (delta 55), pack-reused 0

Receiving objects: 100% (1163/1163), 1.23 MiB | 40.00 KiB/s, done.

Resolving deltas: 100% (116/116), done.

From https://github.com/Homebrew/brew

 * [new branch]      master     -> origin/master

HEAD is now at 42be54e Merge pull request #3667 from commitay/cask-doctor-sip

To restore the stashed changes to /usr/local run:

  'cd /usr/local && git stash pop'

Error: Running Homebrew as root is extremely dangerous and no longer supported.

As Homebrew does not drop privileges on installation you would be giving all

build scripts full access to your system.

解决方法就是给这个用户写权限,而不是sudo。

iMacdeMac:~ imac$ sudo chown -R imac /usr/local/


分享标题:iMac终端HomeBrew无法使用
本文链接:http://lswzjz.com/article/geeheh.html