自制Mac更新问题 [英] Homebrew Mac Update Issues

查看:70
本文介绍了自制Mac更新问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我大约2天前开始注意到的东西.根据我过去的经验,Homebrew总是每天更新.我将始终键入命令brew update和voila,会有待更新/删除的软件包,而Homebrew将显示更改的内容.我还注意到,如果我超过一天没有更新Homebrew,则会收到以下通知:

This is something that I've noticed starting about 2 days ago. In my past experience, Homebrew would always have daily updates. I would always type the command brew update and voila, there would be packages that would be updated/deleted and Homebrew would display what changed. I also noticed that if I didn't update Homebrew for more than a day, I would get the following notice:

自家酿在最近24小时内未更新.在酿造地上那已经很久了.输入酿造更新".

Homebrew hasn't been updated in the last 24 hours. That's a long time in brew land. Type 'brew update.

但是,我上次在Mac上更新Homebrew的时间是2016年8月10日.今天是2016年8月14日,当我键入brew update时,它告诉我所有内容都是最新的,即使我有4天没有更新Homebrew了. brew doctor中的更新通知也不会出现.在整个崩溃期间,我没有对Homebrew进行任何修改.
是否有解决此Homebrew更新问题的解决方案,或者Homebrew是否不再有每日更新?

However, the last time I updated Homebrew on my Mac was on August 10, 2016. Today is August 14, 2016 and when I type brew update, it tells me that everything is already up-to-date, even though I haven't updated Homebrew in 4 days. The update notice in brew doctor also does not show-up. I have not modified Homebrew in any way throughout this whole debacle.
Is there a solution to this Homebrew updating issue or does Homebrew not have daily updates anymore?

推荐答案

根据 https://github.com/Homebrew /brew#update-bug

如果Homebrew在2016年8月10日至11日进行了更新,并且brew更新始终显示已为最新.您需要运行

If Homebrew was updated on Aug 10-11th 2016 and brew update always says Already up-to-date. you need to run

cd $(brew --repo); git fetch; git reset --hard origin/master; brew update

这篇关于自制Mac更新问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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