Brew: Error: Invalid formula: internetarchive.rb: cannot load such file -- utils/json

Created on 3 Dec 2016  路  5Comments  路  Source: Linuxbrew/brew

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.

Please follow the general troubleshooting steps first:

  • [ ] Ran brew update and retried your prior step?
  • [ ] Ran brew doctor, fixed as many issues as possible and retried your prior step?
  • [ ] If you're seeing permission errors tried running sudo chown -R $(whoami) $(brew --prefix)?

_You can erase any parts of this template not applicable to your Issue._

Bug reports:

I installed linuxbrew today and met the following error:

==> Tapping homebrew/core
Cloning into '/home/dongz/.linuxbrew/Library/Taps/homebrew/homebrew-core'...
remote: Counting objects: 3775, done.
remote: Compressing objects: 100% (3665/3665), done.
remote: Total 3775 (delta 12), reused 340 (delta 1), pack-reused 0
Receiving objects: 100% (3775/3775), 3.05 MiB | 0 bytes/s, done.
Resolving deltas: 100% (12/12), done.
Error: Invalid formula: /home/dongz/.linuxbrew/Library/Taps/homebrew/homebrew-core/Formula/internetarchive.rb
cannot load such file -- utils/json
Error: Cannot tap homebrew/core: invalid syntax in tap!
Error: Failure while executing: /home/dongz/.linuxbrew/bin/brew tap homebrew/core

Propose a feature:

Instead of creating an issue here, please create a pull request with your change proposal in the Homebrew Evolution repository using the proposal template.

bug

Most helpful comment

This issue will soon be resolved by Linuxbrew/homebrew-core#1231.

All 5 comments

I can confirm this bug. I'll try to fix it up this weekend. Sorry for the gaff.

Thanks!

This issue will soon be resolved by Linuxbrew/homebrew-core#1231.

Awesome. The merged stuff works like charm. :tada:

IMHO this issue can be closed now.

Thanks for the follow up, Alexander.

Was this page helpful?
0 / 5 - 0 ratings