brew: Most of the commands result in error.
Workaround
You can set export HOMEBREW_NO_INSTALL_FROM_API=1 for now to work around this but we need to figure out what’s going on here.
(added by @MikeMcQuaid)
brew doctor output
Your system is ready to brew.
Verification
- My “
brew doctoroutput” above saysYour system is ready to brew.and am still able to reproduce my issue. - I ran
brew updatetwice and am still able to reproduce my issue. - This issue’s title and/or description do not reference a single formula e.g.
brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.
brew config output
HOMEBREW_VERSION: 3.6.20-298-g8fdf6ac
ORIGIN: https://github.com/Homebrew/brew
HEAD: 8fdf6aca11f685641c9b886c0b48462088d23505
Last commit: 4 hours ago
Core tap origin: https://github.com/Homebrew/homebrew-core
Core tap HEAD: ee949c60592946683261f77857350d337ddb6454
Core tap last commit: 4 days ago
Core tap branch: master
Core tap JSON: 07 Feb 11:21 UTC
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.jMWJbufzPx/org.xquartz:0
HOMEBREW_EDITOR: /usr/local/bin/nvim
HOMEBREW_MAKE_JOBS: 8
HOMEBREW_NO_ENV_HINTS: set
Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit kabylake
Clang: 14.0.0 build 1400
Git: 2.39.1 => /usr/local/bin/git
Curl: 7.86.0 => /usr/bin/curl
macOS: 13.2-x86_64
CLT: 14.2.0.0.1.1668646533
Xcode: N/A
What were you trying to do (and why)?
I’m trying to do brew upgrade
What happened (include all command output)?
The command result in the following error.
$ brew upgrade
Error: No file found at https://raw.githubusercontent.com/Homebrew/homebrew-cask/9da035cce5f43a7a91305908c919cda2d1643571/Casks/vlc.rb
Please report this issue:
https://docs.brew.sh/Troubleshooting
/usr/local/Homebrew/Library/Homebrew/api.rb:91:in `fetch_file_source'
/usr/local/Homebrew/Library/Homebrew/api/cask.rb:20:in `fetch_source'
/usr/local/Homebrew/Library/Homebrew/cask/cask_loader.rb:242:in `load'
/usr/local/Homebrew/Library/Homebrew/cask/cask_loader.rb:382:in `load'
/usr/local/Homebrew/Library/Homebrew/cask/caskroom.rb:50:in `block in casks'
/usr/local/Homebrew/Library/Homebrew/cask/caskroom.rb:46:in `map'
/usr/local/Homebrew/Library/Homebrew/cask/caskroom.rb:46:in `casks'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/upgrade.rb:98:in `upgrade_casks'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:226:in `upgrade_outdated_casks'
/usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:117:in `upgrade'
/usr/local/Homebrew/Library/Homebrew/brew.rb:93:in `<main>'
What did you expect to happen?
brew upgrade be successful.
Step-by-step reproduction instructions (by running brew commands)
`brew upgrade`
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 11
- Comments: 19 (10 by maintainers)
You can set
export HOMEBREW_NO_INSTALL_FROM_API=1for now to work around this but we need to figure out what’s going on here.@glensc It’s not a rate limit thing, it looks like a bug with some of GitHub’s caching systems.
brew updateandbrew upgradeare different things. The reduction in auto-update frequency does meanbrew upgradeinvokes an implicitbrew updateless often - which is a reasonable source of confusion that I’ll make note of.