If Homebrew was updated on Aug 10-11th 2016 and brew update always says Already up-to-date. you need to run: cd "$(brew --repo)" && git fetch && git reset --hard origin/master && brew update.
brew update and retried your prior step?brew doctor, fixed as many issues as possible and retried your prior step?I can't add a new tap on OS X sierra, it doesn't seem to matter what the tap actually is. Any thoughts?
[ibeekman:/usr/local/Homebrew/Library/Taps/homebrew] master+ 2s 1 卤 brew tap homebrew/bundle
==> Tapping homebrew/bundle
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle'...
remote: Counting objects: 57, done.
remote: Compressing objects: 100% (55/55), done.
remote: Total 57 (delta 5), reused 14 (delta 0), pack-reused 0
Unpacking objects: 100% (57/57), done.
Error: Cannot tap homebrew/bundle: invalid syntax in tap!
[ibeekman:/usr/local/Homebrew/Library/Taps/homebrew] master+ 1 卤 brew config
HOMEBREW_VERSION: 1.1.10-101-ged7290abb
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: ed7290abb4b5a6820c30cd10b141a7713d932fd6
Last commit: 47 minutes ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 3584718a331d3a15856238e5c5219fbfae4885e0
Core tap last commit: 66 minutes 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.0 build 800
Git: 2.11.1 => /usr/local/bin/git
Perl: /usr/local/bin/perl => /usr/local/Cellar/perl/5.24.0_1/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/2.4.0/bin/ruby
Java: N/A
macOS: 10.12.3-x86_64
Xcode: 8.2.1
CLT: 8.2.0.0.1.1480973914
X11: 2.7.11 => /opt/X11
[ibeekman:/usr/local/Homebrew/Library/Taps/homebrew] master+ 卤 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: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
gcc6
gcc@5
ghostscript
gifsicle
gnupg2
keybase
mpich
whois
Error: No available formula with the name "dunn/emacs/popup"
Please tap it and then try again: brew tap dunn/emacs
[ibeekman:/usr/local/Homebrew/Library/Taps/homebrew] master+ 5s 1 卤 brew tap dunn/emacs
==> Tapping dunn/emacs
Cloning into '/usr/local/Homebrew/Library/Taps/dunn/homebrew-emacs'...
remote: Counting objects: 232, done.
remote: Compressing objects: 100% (228/228), done.
remote: Total 232 (delta 53), reused 29 (delta 3), pack-reused 0
Receiving objects: 100% (232/232), 127.02 KiB | 0 bytes/s, done.
Resolving deltas: 100% (53/53), done.
Error: Cannot tap dunn/emacs: invalid syntax in tap!
I see the same issue with homebrew/dupes.
iMac-TMP:Homebrew joe$ git bisect good
68bd744d0e44e40a5e3269bb16030134d937a524 is the first bad commit
commit 68bd744d0e44e40a5e3269bb16030134d937a524
Author: Mike McQuaid <[email protected]>
Date: Mon Feb 20 14:05:40 2017 +0000
readall: check for shadowed aliases.
This will become particularly relevant when there鈥檚 a new version of a
formula and the existing alias needs to be removed.
:040000 040000 60319753ecb4bfc959d80ff0927d3907fc82f9c0 da1224567550de11b472320dba4d8b2e44ed3426 M Library
OK thanks... I've just been git cloning the taps manually and that works too... Oddly, I recently did a fresh homebrew install on my older Yosemite MBP, everything is working fine there. I guess, however, homebrew is at a different version on Yosemite than Sierra?
No this bug happened 2 hours ago: https://github.com/Homebrew/brew/pull/1850
No this bug happened 2 hours ago: #1850
Ah I see, after pulling the latest changes this happens on Yosemite too.
@zbeekman should be fixed now if you brew update. Mind confirming?
Yup, fixed on both Yosemite and Sierra machines
Thanks for the quick report :)
I am having the same issue and have just updated homebrew.
$ brew tap homebrew/bundle
==> Tapping homebrew/bundle
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-bundle'...
remote: Counting objects: 57, done.
remote: Compressing objects: 100% (55/55), done.
remote: Total 57 (delta 4), reused 13 (delta 0), pack-reused 0
Unpacking objects: 100% (57/57), done.
Error: Cannot tap homebrew/bundle: invalid syntax in tap!
$ brew tap homebrew/dupes
Warning: homebrew/dupes was deprecated. This tap is now empty as all its formulae were migrated.
==> Tapping homebrew/dupes
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-dupes'...
remote: Counting objects: 5, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 5 (delta 0), reused 3 (delta 0), pack-reused 0
Unpacking objects: 100% (5/5), done.
Error: Cannot tap homebrew/dupes: invalid syntax in tap!
$ brew update
Already up-to-date.
$ brew config
HOMEBREW_VERSION: 1.1.13-77-g1ceb420bdd
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 1ceb420bdd9b71e0cfddfe7b8998d2003c1bed7e
Last commit: 68 minutes ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 26a628d345d513af3854a574fa0169aa7d409217
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: quad-core 64-bit haswell
Homebrew Ruby: 2.0.0-p648
Clang: 8.0 build 800
Git: 2.12.2 => /usr/local/bin/git
Perl: /Users/charles.hart/perl5/perlbrew/perls/perl-5.24.0/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
Java: 1.8.0_112, 1.7.0_80
macOS: 10.11.6-x86_64
Xcode: 8.2.1
CLT: 8.2.0.0.1.1480973914
X11: 2.7.9 => /opt/X11
$ 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/charles.hart/Documents/go/bin/ssh-config
Fixed now.
Most helpful comment
@zbeekman should be fixed now if you
brew update. Mind confirming?