brew update output too verbose

Created on 22 Jun 2017  Â·  4Comments  Â·  Source: Homebrew/brew

Issue guidelines checklist

  • [x] Confirmed this is a problem with running a brew command and not brew installing or the post-install behaviour of one or more formulae? If it's a formulae-specific problem please file this issue at https://github.com/Homebrew/homebrew-core/issues/new
  • [x] Ran brew update and retried your prior step?
  • [x] Ran brew doctor, fixed all issues and retried your prior step?
  • [x] Ran brew config and brew doctor and included their output with your issue?

  • What you were trying to do (and why)
    Run brew update, like I always have in the past.

  • What happened (include command output)
    Running brew update can result in hundreds of lines of metadata being printed to the console. I'm not sure why this started to happen.

  • What you expected to happen
    When I used to run brew update in the past, I got minimal output in the terminal listing only the names of the Formulae that had been updated.

  • Step-by-step reproduction instructions (by running brew commands)
    brew update



brew update output:

➜  brew upgrade
/usr/local/Homebrew/Library/Taps/bramstein/homebrew-webfonttools/.git/FETCH_HEAD Stats {
  dev: 16777222,
  mode: 33188,
  nlink: 1,
  uid: 501,
  gid: 80,
  rdev: 0,
  blksize: 4096,
  ino: 578386,
  size: 112,
  blocks: 8,
  atimeMs: 1498106687000,
  mtimeMs: 1498106687000,
  ctimeMs: 1498106687000,
  birthtimeMs: 1489553367000,
  atime: 2017-06-22T04:44:47.000Z,
  mtime: 2017-06-22T04:44:47.000Z,
  ctime: 2017-06-22T04:44:47.000Z,
  birthtime: 2017-03-15T04:49:27.000Z }
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask/.git/FETCH_HEAD Stats {
  dev: 16777222,
  mode: 33188,
  nlink: 1,
  uid: 501,
  gid: 80,
  rdev: 0,
  blksize: 4096,
  ino: 632428,
  size: 13077,
  blocks: 32,
  atimeMs: 1498106687000,
  mtimeMs: 1498106687000,
  ctimeMs: 1498106687000,
  birthtimeMs: 1489558088000,
  atime: 2017-06-22T04:44:47.000Z,
  mtime: 2017-06-22T04:44:47.000Z,
  ctime: 2017-06-22T04:44:47.000Z,
  birthtime: 2017-03-15T06:08:08.000Z }
/usr/local/Homebrew/.git/FETCH_HEAD Stats {
  dev: 16777222,
  mode: 33188,
  nlink: 1,
  uid: 501,
  gid: 80,
  rdev: 0,
  blksize: 4096,
  ino: 520543,
  size: 4818,
  blocks: 16,
  atimeMs: 1498106687000,
  mtimeMs: 1498106687000,
  ctimeMs: 1498106687000,
  birthtimeMs: 1489552011000,
  atime: 2017-06-22T04:44:47.000Z,
  mtime: 2017-06-22T04:44:47.000Z,
  ctime: 2017-06-22T04:44:47.000Z,
  birthtime: 2017-03-15T04:26:51.000Z }
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-drivers/.git/FETCH_HEAD Stats {
  dev: 16777222,
  mode: 33188,
  nlink: 1,
  uid: 501,
  gid: 80,
  rdev: 0,
  blksize: 4096,
  ino: 5755507,
  size: 106,
  blocks: 8,
  atimeMs: 1498106687000,
  mtimeMs: 1498106687000,
  ctimeMs: 1498106687000,
  birthtimeMs: 1493904411000,
  atime: 2017-06-22T04:44:47.000Z,
  mtime: 2017-06-22T04:44:47.000Z,
  ctime: 2017-06-22T04:44:47.000Z,
  birthtime: 2017-05-04T13:26:51.000Z }
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-versions/.git/FETCH_HEAD Stats {
  dev: 16777222,
  mode: 33188,
  nlink: 1,
  uid: 501,
  gid: 80,
  rdev: 0,
  blksize: 4096,
  ino: 632655,
  size: 13065,
  blocks: 32,
  atimeMs: 1498106687000,
  mtimeMs: 1498106687000,
  ctimeMs: 1498106687000,
  birthtimeMs: 1489558154000,
  atime: 2017-06-22T04:44:47.000Z,
  mtime: 2017-06-22T04:44:47.000Z,
  ctime: 2017-06-22T04:44:47.000Z,
  birthtime: 2017-03-15T06:09:14.000Z }
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-fonts/.git/FETCH_HEAD Stats {
  dev: 16777222,
  mode: 33188,
  nlink: 1,
  uid: 501,
  gid: 80,
  rdev: 0,
  blksize: 4096,
  ino: 1713517,
  size: 104,
  blocks: 8,
  atimeMs: 1498106687000,
  mtimeMs: 1498106687000,
  ctimeMs: 1498106687000,
  birthtimeMs: 1489844874000,
  atime: 2017-06-22T04:44:47.000Z,
  mtime: 2017-06-22T04:44:47.000Z,
  ctime: 2017-06-22T04:44:47.000Z,
  birthtime: 2017-03-18T13:47:54.000Z }
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-dupes/.git/FETCH_HEAD Stats {
  dev: 16777222,
  mode: 33188,
  nlink: 1,
  uid: 501,
  gid: 80,
  rdev: 0,
  blksize: 4096,
  ino: 578389,
  size: 104,
  blocks: 8,
  atimeMs: 1498106687000,
  mtimeMs: 1498106687000,
  ctimeMs: 1498106687000,
  birthtimeMs: 1489553367000,
  atime: 2017-06-22T04:44:47.000Z,
  mtime: 2017-06-22T04:44:47.000Z,
  ctime: 2017-06-22T04:44:47.000Z,
  birthtime: 2017-03-15T04:49:27.000Z }
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/.git/FETCH_HEAD Stats {
  dev: 16777222,
  mode: 33188,
  nlink: 1,
  uid: 501,
  gid: 80,
  rdev: 0,
  blksize: 4096,
  ino: 578388,
  size: 103,
  blocks: 8,
  atimeMs: 1498106687000,
  mtimeMs: 1498106687000,
  ctimeMs: 1498106687000,
  birthtimeMs: 1489553367000,
  atime: 2017-06-22T04:44:47.000Z,
  mtime: 2017-06-22T04:44:47.000Z,
  ctime: 2017-06-22T04:44:47.000Z,
  birthtime: 2017-03-15T04:49:27.000Z }
/usr/local/Homebrew/Library/Taps/neovim/homebrew-neovim/.git/FETCH_HEAD Stats {
  dev: 16777222,
  mode: 33188,
  nlink: 1,
  uid: 501,
  gid: 80,
  rdev: 0,
  blksize: 4096,
  ino: 3573768,
  size: 103,
  blocks: 8,
  atimeMs: 1498106687000,
  mtimeMs: 1498106687000,
  ctimeMs: 1498106687000,
  birthtimeMs: 1491986518000,
  atime: 2017-06-22T04:44:47.000Z,
  mtime: 2017-06-22T04:44:47.000Z,
  ctime: 2017-06-22T04:44:47.000Z,
  birthtime: 2017-04-12T08:41:58.000Z }
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-versions/.git/FETCH_HEAD Stats {
  dev: 16777222,
  mode: 33188,
  nlink: 1,
  uid: 501,
  gid: 80,
  rdev: 0,
  blksize: 4096,
  ino: 578390,
  size: 107,
  blocks: 8,
  atimeMs: 1498106687000,
  mtimeMs: 1498106687000,
  ctimeMs: 1498106687000,
  birthtimeMs: 1489553367000,
  atime: 2017-06-22T04:44:47.000Z,
  mtime: 2017-06-22T04:44:47.000Z,
  ctime: 2017-06-22T04:44:47.000Z,
  birthtime: 2017-03-15T04:49:27.000Z }


brew config

➜  brew config
HOMEBREW_VERSION: 1.2.3
ORIGIN: https://github.com/Homebrew/brew
HEAD: ed9942fbd1ec4243f0a92ab8f9b2411c8b1fb091
Last commit: 10 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 356ebfefe869ab3464076a2057e4b100940ed35e
Core tap last commit: 2 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.0.0-p648
Clang: 8.1 build 802
Git: 2.13.1 => /usr/local/bin/git
Perl: /usr/bin/perl
Python: /Users/thiago/.pyenv/shims/python => /Users/thiago/.pyenv/versions/2.7.13/bin/python2.7
Ruby: /Users/thiago/.rbenv/shims/ruby => /Users/thiago/.rbenv/versions/2.4.0/bin/ruby
Java: 1.6.0_65-b14-468
macOS: 10.12.5-x86_64
Xcode: 8.3.3
CLT: 8.3.2.0.1.1492020469
X11: N/A


brew doctor

➜  brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.

Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
  /Users/thiago/.pyenv/shims/python-config
  /Users/thiago/.pyenv/shims/python2-config
  /Users/thiago/.pyenv/shims/python2.7-config
  /Users/thiago/.pyenv/shims/python3-config
  /Users/thiago/.pyenv/shims/python3.6-config
  /Users/thiago/.pyenv/shims/python3.6m-config

Most helpful comment

I have figured out what was causing the issue: I installed the node@6 package because I didn't want to use the latest version. The output of brew info node@6 is this:

$ brew info node@6
node@6: stable 6.11.1 (bottled), HEAD [keg-only]
Platform built on V8 to build network applications
https://nodejs.org/
/usr/local/Cellar/node@6/6.11.1 (3,845 files, 45.3MB)
  Poured from bottle on 2017-07-13 at 09:22:08
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/[email protected]
==> Dependencies
Build: pkg-config ✔
Optional: openssl ✔
==> Options
--with-debug
    Build with debugger hooks
--with-full-icu
    Build with full-icu (all locales) instead of small-icu (English only)
--with-openssl
    Build against Homebrew's OpenSSL instead of the bundled OpenSSL
--without-completion
    npm bash completion will not be installed
--without-npm
    npm will not be installed
--HEAD
    Install HEAD version
==> Caveats
Please note by default only English locale support is provided. If you need
full locale support you should either rebuild with full icu:
  `brew reinstall node --with-full-icu`
or add full icu data at runtime following:
  https://github.com/nodejs/node/wiki/Intl#using-and-customizing-the-small-icu-build

This formula is keg-only, which means it was not symlinked into /usr/local,
because this is an alternate version of another formula.

If you need to have this software first in your PATH run:
  echo 'export PATH="/usr/local/opt/node@6/bin:$PATH"' >> ~/.zshrc

For compilers to find this software you may need to set:
    LDFLAGS:  -L/usr/local/opt/node@6/lib
    CPPFLAGS: -I/usr/local/opt/node@6/include


Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

The following lines are causing the issue:

If you need to have this software first in your PATH run:
  echo 'export PATH="/usr/local/opt/node@6/bin:$PATH"' >> ~/.zshrc

Somehow when either upgrading to npm version 5 or globally installing @angular/[email protected] an executable named touch was installed into the /usr/local/opt/node@6/bin folder, therefor taking precedence over the normal touch command. This alternative touch was printing the extra lines of stats.

All 4 comments

You typed brew upgrade. It seems extremely likely this is a local Git setting you've configured. Try to move/edit your .gitconfigs.

@MikeMcQuaid sorry it was a typo. I get the same with brew update:


brew update

➜  brew update
/usr/local/Homebrew/.git/FETCH_HEAD Stats {
  dev: 16777222,
  mode: 33188,
  nlink: 1,
  uid: 501,
  gid: 80,
  rdev: 0,
  blksize: 4096,
  ino: 520543,
  size: 4818,
  blocks: 16,
  atimeMs: 1498119870000,
  mtimeMs: 1498119870000,
  ctimeMs: 1498119870000,
  birthtimeMs: 1489552011000,
  atime: 2017-06-22T08:24:30.000Z,
  mtime: 2017-06-22T08:24:30.000Z,
  ctime: 2017-06-22T08:24:30.000Z,
  birthtime: 2017-03-15T04:26:51.000Z }
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-drivers/.git/FETCH_HEAD Stats {
  dev: 16777222,
  mode: 33188,
  nlink: 1,
  uid: 501,
  gid: 80,
  rdev: 0,
  blksize: 4096,
  ino: 5755507,
  size: 106,
  blocks: 8,
  atimeMs: 1498119870000,
  mtimeMs: 1498119870000,
  ctimeMs: 1498119870000,
  birthtimeMs: 1493904411000,
  atime: 2017-06-22T08:24:30.000Z,
  mtime: 2017-06-22T08:24:30.000Z,
  ctime: 2017-06-22T08:24:30.000Z,
  birthtime: 2017-05-04T13:26:51.000Z }
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask/.git/FETCH_HEAD Stats {
  dev: 16777222,
  mode: 33188,
  nlink: 1,
  uid: 501,
  gid: 80,
  rdev: 0,
  blksize: 4096,
  ino: 632428,
  size: 13077,
  blocks: 32,
  atimeMs: 1498119870000,
  mtimeMs: 1498119870000,
  ctimeMs: 1498119870000,
  birthtimeMs: 1489558088000,
  atime: 2017-06-22T08:24:30.000Z,
  mtime: 2017-06-22T08:24:30.000Z,
  ctime: 2017-06-22T08:24:30.000Z,
  birthtime: 2017-03-15T06:08:08.000Z }
/usr/local/Homebrew/Library/Taps/bramstein/homebrew-webfonttools/.git/FETCH_HEAD Stats {
  dev: 16777222,
  mode: 33188,
  nlink: 1,
  uid: 501,
  gid: 80,
  rdev: 0,
  blksize: 4096,
  ino: 578386,
  size: 112,
  blocks: 8,
  atimeMs: 1498119870000,
  mtimeMs: 1498119870000,
  ctimeMs: 1498119870000,
  birthtimeMs: 1489553367000,
  atime: 2017-06-22T08:24:30.000Z,
  mtime: 2017-06-22T08:24:30.000Z,
  ctime: 2017-06-22T08:24:30.000Z,
  birthtime: 2017-03-15T04:49:27.000Z }
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-fonts/.git/FETCH_HEAD Stats {
  dev: 16777222,
  mode: 33188,
  nlink: 1,
  uid: 501,
  gid: 80,
  rdev: 0,
  blksize: 4096,
  ino: 1713517,
  size: 104,
  blocks: 8,
  atimeMs: 1498119870000,
  mtimeMs: 1498119870000,
  ctimeMs: 1498119870000,
  birthtimeMs: 1489844874000,
  atime: 2017-06-22T08:24:30.000Z,
  mtime: 2017-06-22T08:24:30.000Z,
  ctime: 2017-06-22T08:24:30.000Z,
  birthtime: 2017-03-18T13:47:54.000Z }
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-dupes/.git/FETCH_HEAD Stats {
  dev: 16777222,
  mode: 33188,
  nlink: 1,
  uid: 501,
  gid: 80,
  rdev: 0,
  blksize: 4096,
  ino: 578389,
  size: 104,
  blocks: 8,
  atimeMs: 1498119870000,
  mtimeMs: 1498119870000,
  ctimeMs: 1498119870000,
  birthtimeMs: 1489553367000,
  atime: 2017-06-22T08:24:30.000Z,
  mtime: 2017-06-22T08:24:30.000Z,
  ctime: 2017-06-22T08:24:30.000Z,
  birthtime: 2017-03-15T04:49:27.000Z }
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/.git/FETCH_HEAD Stats {
  dev: 16777222,
  mode: 33188,
  nlink: 1,
  uid: 501,
  gid: 80,
  rdev: 0,
  blksize: 4096,
  ino: 578388,
  size: 103,
  blocks: 8,
  atimeMs: 1498119870000,
  mtimeMs: 1498119870000,
  ctimeMs: 1498119870000,
  birthtimeMs: 1489553367000,
  atime: 2017-06-22T08:24:30.000Z,
  mtime: 2017-06-22T08:24:30.000Z,
  ctime: 2017-06-22T08:24:30.000Z,
  birthtime: 2017-03-15T04:49:27.000Z }
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-versions/.git/FETCH_HEAD Stats {
  dev: 16777222,
  mode: 33188,
  nlink: 1,
  uid: 501,
  gid: 80,
  rdev: 0,
  blksize: 4096,
  ino: 578390,
  size: 107,
  blocks: 8,
  atimeMs: 1498119870000,
  mtimeMs: 1498119870000,
  ctimeMs: 1498119870000,
  birthtimeMs: 1489553367000,
  atime: 2017-06-22T08:24:30.000Z,
  mtime: 2017-06-22T08:24:30.000Z,
  ctime: 2017-06-22T08:24:30.000Z,
  birthtime: 2017-03-15T04:49:27.000Z }
/usr/local/Homebrew/Library/Taps/neovim/homebrew-neovim/.git/FETCH_HEAD Stats {
  dev: 16777222,
  mode: 33188,
  nlink: 1,
  uid: 501,
  gid: 80,
  rdev: 0,
  blksize: 4096,
  ino: 3573768,
  size: 103,
  blocks: 8,
  atimeMs: 1498119870000,
  mtimeMs: 1498119870000,
  ctimeMs: 1498119870000,
  birthtimeMs: 1491986518000,
  atime: 2017-06-22T08:24:30.000Z,
  mtime: 2017-06-22T08:24:30.000Z,
  ctime: 2017-06-22T08:24:30.000Z,
  birthtime: 2017-04-12T08:41:58.000Z }
/usr/local/Homebrew/Library/Taps/caskroom/homebrew-versions/.git/FETCH_HEAD Stats {
  dev: 16777222,
  mode: 33188,
  nlink: 1,
  uid: 501,
  gid: 80,
  rdev: 0,
  blksize: 4096,
  ino: 632655,
  size: 13065,
  blocks: 32,
  atimeMs: 1498119870000,
  mtimeMs: 1498119870000,
  ctimeMs: 1498119870000,
  birthtimeMs: 1489558154000,
  atime: 2017-06-22T08:24:30.000Z,
  mtime: 2017-06-22T08:24:30.000Z,
  ctime: 2017-06-22T08:24:30.000Z,
  birthtime: 2017-03-15T06:09:14.000Z }
Updated 2 taps (caskroom/cask, homebrew/core).
==> Updated Formulae
amazon-ecs-cli      appscale-tools      awscli ✔            fsql                influxdb            libhttpseverywhere  packer              pdf-redact-tools    teleport
ansiweather         aws-sdk-cpp         csmith              gjs                 leaps               macvim              paket               pdftoedn

I'll check my global .gitconfig, thanks @MikeMcQuaid

UPDATE: deleting my global .gitconfig has no effect, this still persists. Just so I know where to begin my hunt for an answer, what makes you say that this is likely a git issue?

UPDATE2: My apologies, I don't know what I've done, but this is definitely not related to homebrew. I seem to be getting Stats printed for commands in both bash and zsh. I realised this after getting these bogus stats running the touch command.

@thiagodebastos did you ever figure out what was causing this?

I have figured out what was causing the issue: I installed the node@6 package because I didn't want to use the latest version. The output of brew info node@6 is this:

$ brew info node@6
node@6: stable 6.11.1 (bottled), HEAD [keg-only]
Platform built on V8 to build network applications
https://nodejs.org/
/usr/local/Cellar/node@6/6.11.1 (3,845 files, 45.3MB)
  Poured from bottle on 2017-07-13 at 09:22:08
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/[email protected]
==> Dependencies
Build: pkg-config ✔
Optional: openssl ✔
==> Options
--with-debug
    Build with debugger hooks
--with-full-icu
    Build with full-icu (all locales) instead of small-icu (English only)
--with-openssl
    Build against Homebrew's OpenSSL instead of the bundled OpenSSL
--without-completion
    npm bash completion will not be installed
--without-npm
    npm will not be installed
--HEAD
    Install HEAD version
==> Caveats
Please note by default only English locale support is provided. If you need
full locale support you should either rebuild with full icu:
  `brew reinstall node --with-full-icu`
or add full icu data at runtime following:
  https://github.com/nodejs/node/wiki/Intl#using-and-customizing-the-small-icu-build

This formula is keg-only, which means it was not symlinked into /usr/local,
because this is an alternate version of another formula.

If you need to have this software first in your PATH run:
  echo 'export PATH="/usr/local/opt/node@6/bin:$PATH"' >> ~/.zshrc

For compilers to find this software you may need to set:
    LDFLAGS:  -L/usr/local/opt/node@6/lib
    CPPFLAGS: -I/usr/local/opt/node@6/include


Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

The following lines are causing the issue:

If you need to have this software first in your PATH run:
  echo 'export PATH="/usr/local/opt/node@6/bin:$PATH"' >> ~/.zshrc

Somehow when either upgrading to npm version 5 or globally installing @angular/[email protected] an executable named touch was installed into the /usr/local/opt/node@6/bin folder, therefor taking precedence over the normal touch command. This alternative touch was printing the extra lines of stats.

Was this page helpful?
0 / 5 - 0 ratings