Add `brew repair` Command #14486

mxcl opened this Issue Aug 27, 2012 · 3 comments

4 participants

Homebrew member

It should analyze permissions errors, etc. and repair them, requiring sudo after instantiation if required.

Some brew doctor warnings may be able to direct the user to this tool.

A log should be made, so if it doesn't work, we can figure out why.


That sounds great.


For the permissions part at least, Homebrew could come in an installer package that leaves a bom receipt so that diskutil repairPermissions could do the repairing:


Great idea; but closing due to lack of action. Any specific things we want to do should be made into pull requests.

@adamv adamv closed this Nov 5, 2013
@xu-cheng xu-cheng locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.