Homebrew / legacy-homebrew

💀 The former home of Homebrew/homebrew (deprecated)
https://brew.sh
26.97k stars 11.34k forks source link

after El Capitan brew update is verbose #44549

Closed smartinsightsfromdata closed 9 years ago

smartinsightsfromdata commented 9 years ago

after El Capitan brew update is verbose.

What to do to go back to a sort of silent install?

Now I see everything (small example):

M test/support/binaries/transmission-2.61.dmg
 M test/support/binaries/xarcontainer.xar
 M test/support/cleanup.rb
 M test/support/fake_dirs.rb
 M test/support/fake_fetcher.rb
 M test/support/fake_system_command.rb
 M test/support/never_sudo_system_command.rb
 M test/syntax_test.rb
 M test/test_helper.rb
Stashing your changes:
 M .travis.yml
 M CONTRIBUTING.md
 M README.md
 M a5.rb
 M abacas.rb
 M abinit.rb
 M abyss-explorer.rb
 M abyss.rb
 M ace-corrector.rb
 M adam.rb
 M adol-c.rb
 M alembic.rb
 M alglib.rb
 M allpaths-lg.rb
 M alpscore.rb
 M amos.rb
 M analysis.rb
 M andi.rb
 M ann.rb
tdsmith commented 9 years ago

Homebrew is reporting that these files seem to have been modified; you can check out a pristine version of the Homebrew formulas by running cd $(brew --repository) && git reset --hard origin/master. Let us know if this doesn't work or if we can help with anything else.

smartinsightsfromdata commented 9 years ago

@tdsmith Thanks for the prompt response, but sadly it didn't change a thing...

tdsmith commented 9 years ago

Please copy the entire output of brew update into a pastebin like Github gist and paste the link here; thanks.

smartinsightsfromdata commented 9 years ago

@tdsmith It is here: https://gist.github.com/smartinsightsfromdata/0a299d2df7d4c33337fa

Thanks

tdsmith commented 9 years ago

Most of those files should be in your .gitignore. Can you try:

cd $(brew --repository) && curl -LO https://raw.githubusercontent.com/Homebrew/homebrew/master/.gitignore?

trojjer commented 9 years ago

"Me too."

At least when I installed XCode I finally got brew install and brew doctor to work again... Sorry, lost the data for that, but the error message was reasonable enough. Thanks.

stevegk commented 9 years ago

I got a similar output from brew update and found that Sophos Anti Virus was changing permissions on /usr/local/bin and /usr/local/man/man1 and others every time it updates. A recent commit to brew includes a change to the man page which causes brew update to fail because of the permissions leaving a right old mess. I got out of it by fixing permissions and then cd $(brew --repository) && git reset --hard origin/master.

DomT4 commented 9 years ago

We're aware of the Sophos issue in particular. They've agreed to move prefixes upstream in the near future. (As you know, given you highlighted the thread :smile:)

DomT4 commented 9 years ago

Tentatively closing since we haven't had an additional report on this for more than a month.