-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No file found - failure to upgrade (multiple casks affected) #141436
Comments
also in https://formulae.brew.sh/cask/gimp#default the |
I'm having the same issue with the firefox cask when running
|
What is the output of |
This appears to be a github issue, https://github.com/Homebrew/homebrew-cask/blob/cc58401c0905753619a9fc12dc733518beb75b05/Casks/gimp.rb is returning 500 errors intermittently too. |
Same error with other pkg (proxyman, gpg-suite, wireshark, ...) (autoremove, upgrade, uninstall) |
Also affects
|
Same here for
|
Interestingly enough, running |
Also affects
|
currently getting lots of 404 errors on other formulae as well. The failing cask seem to be somewhat random. Opening the URL in the browser confirms that it's 404. Tried out one now: suddenly it's there: brew upgrade
Error: No file found at https://raw.githubusercontent.com/Homebrew/homebrew-cask/cc58401c0905753619a9fc12dc733518beb75b05/Casks/goland.rb
Please report this issue:
https://docs.brew.sh/Troubleshooting
/usr/local/Homebrew/Library/Homebrew/api.rb:105: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:236:in `load'
/usr/local/Homebrew/Library/Homebrew/cask/cask_loader.rb:376: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>' quite intermittent: % http -h https://raw.githubusercontent.com/Homebrew/homebrew-cask/cc58401c0905753619a9fc12dc733518beb75b05/Casks/pycharm.rb
HTTP/1.1 404 Not Found |
Yeah we're getting the same error with |
|
Please see #141436 (comment) There is a workaround, found at Homebrew/brew#14542 export HOMEBREW_NO_INSTALL_FROM_API=1 That seems to be a direct result of 4.0.0 release: https://brew.sh/2023/02/16/homebrew-4.0.0/ Weirdly, is says:
I guess the first sentence is wrong because that workaround worked for me 🤷 |
thx |
Same issue here since this morning. Seems to be only a problem with casks.
|
Thanks! this worked for me too 🙏🏼️
|
I've made a mitigation here that may have fixed things. Please don't set |
Hmmm... I changed nothing and it ran thru all the process like a charm. Minutes later i got the same errors again. |
Still have it here. |
Still have the problem
|
Problem disappeared for |
I've found keybase cask fails to download.
|
Seeing the same errors too. After the mitigation, running |
|
Same error different cask for me ▲ ~ unset HOMEBREW_NO_INSTALL_FROM_API;
brew update
brew upgrade
Already up-to-date.
==> Downloading https://formulae.brew.sh/api/formula.json
==> Downloading https://formulae.brew.sh/api/cask.json
Error: No file found at https://raw.githubusercontent.com/Homebrew/homebrew-cask/cc58401c0905753619a9fc12dc733518beb75b05/Casks/inkscape.rb
Please report this issue:
https://docs.brew.sh/Troubleshooting
/usr/local/Homebrew/Library/Homebrew/api.rb:105: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:236:in `load'
/usr/local/Homebrew/Library/Homebrew/cask/cask_loader.rb:376: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>' |
I too am also getting a similar error, with gimp:
|
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Yeah corrected, it is a workaround. I since updated my comment. |
We're working on a real/better fix. |
Seems to be fixed for me after running |
Same here ▲ ~ brew update
Already up-to-date.
▲ ~ brew upgrade
==> Downloading https://formulae.brew.sh/api/formula.json
==> Downloading https://formulae.brew.sh/api/cask.json
▲ ~ 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 or file an issue; just ignore this. Thanks!
Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
q
sxiv
▲ ~ |
Same here. |
the issue happens also in
brew outdated
The text was updated successfully, but these errors were encountered: