homebrew update一直卡着不动

查看:576
本文介绍了homebrew update一直卡着不动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问 题

已经更换过国内源,并且安装软件也正常,不慢,但是update和upgrade就很慢,doctor也没见什么报错,请问是什么原因呢?谢谢

➜  local git:(master) ✗ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: Suspicious Homebrew/brew git origin remote found.

With a non-standard origin, Homebrew won't pull updates from
the main repository. The current git origin is:
  https://mirrors.ustc.edu.cn/brew.git

Unless you have compelling reasons, consider setting the
origin remote to point at the main repository by running:
  git -C "/usr/local/Homebrew" remote add origin https://github.com/Homebrew/brew.git

Warning: Suspicious homebrew/core git origin remote found.

With a non-standard origin, Homebrew won't pull updates from
the main repository. The current git origin is:
  git://mirrors.ustc.edu.cn/brew.git

Unless you have compelling reasons, consider setting the
origin remote to point at the main repository by running:
  git -C "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core" remote add origin https://github.com/Homebrew/homebrew-core.git

解决方案

惊了...重新安装就好了

这篇关于homebrew update一直卡着不动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆