摘要:系统运维 错误代码:bash-3.2# brew updateInitialized empty Git repository in /usr/local/.git/remote: Counting objects: 1163, done.
系统运维
错误代码:
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/
相关文章推荐
虚拟主机的专业参数,分别都是什么意思?2022-09-09
中非域名注册规则是怎样的?注册域名有什么用处? 2022-01-10
HostEase新年活动促销 美国/香港主机全场低至五折2021-12-28
HostGator下载完整备份教程分享2021-12-28
Flink中有界数据与无界数据的示例分析2021-12-28