Add `brew repair` Command #14486

Closed
mxcl opened this Issue Aug 27, 2012 · 3 comments

4 participants

@mxcl
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.

@samueljohn

That sounds great.

@cooljeanius

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: http://support.apple.com/kb/HT1452

@adamv

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.