Skip to content

brew doctor should not make changes #4248

Closed Answered by ZhongRuoyu
machale asked this question in Everyday usage
Discussion options

You must be logged in to vote

brew doctor performs a series of checks, and some of them require the list of formulae (e.g. checking if any formulae installed are deprecated). So when you run brew doctor, the list of formulae will be downloaded from the API. Other than that, no changes will be made to your system.

as another data point, brew update did something similar - also only once.

brew update updates Homebrew itself, and also fetches the list of formulae from API.

As of now, I don't have a pattern where this does, or does not, repeat.

By default, brew checks the API every 450 seconds (7.5 minutes; see HOMEBREW_API_AUTO_UPDATE_SECS). In other words, it won't check the API again if it already did so less than …

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@machale
Comment options

Answer selected by machale
Comment options

You must be logged in to vote
1 reply
@ZhongRuoyu
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants