Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

IMac terminal HomeBrew cannot be used

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Error code:

Bash-3.2# brew update

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

Remote: Counting objects: 1163, done.

Remote: Compressing objects: 100% (1067 amp 1067), done.

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

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

Resolving deltas: 100% (116 Compact 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.

The solution is to write permissions to this user, not sudo.

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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report