-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Cask 'stats' is unavailable: No Cask with this name exists. #14504
Comments
Same problem with another cask 'xnviewmp'
|
Same issue with
|
This might be related to changes that GIthub made to compression (and subsequently hashing) of automatically generated archives and other issues related to download URLs. |
Same issue with
|
See this issue: #13794 Setting export HOMEBREW_NO_INSTALL_FROM_API=1 should help while this issue is being investigated. |
@miccal I have tried that before, but sadly it doesn't work. |
@dmlemos Until this bug is squashed, try running |
As discussed in #14463 and instructed by @gromgit , it's important to delete an outdated cask file under export APP="<cask_name>"; rm -rf "$(brew --caskroom)/${APP:?}" && brew reinstall --cask --force "$APP" |
Similar for me: As mentioned by @gromgit in his comment #14463 (comment), I fixed by issue with the Run If it errored out, run the following (this will remove any changes you've made in the tap): brew untap --force homebrew/cask
brew tap homebrew/cask Otherwise, if it ran through, run the following to manually delete the stale installation data and reinstall the cask: rm -fr /opt/homebrew/Caskroom/signal
brew reinstall --cask --force signal |
I'm seeing this for
|
|
Has this been resolved with the closing of #14463? |
@Rylan12 I am encountering the issue right now so would assume not. |
I got this error every day in the past week for the cask "bettertouchtool". |
I'm getting a 404 error on this cask.json, is this related to this issue? |
@KoheiKanagu that is a known issue at Homebrew/brew/issues/14489 related to Github pages. @Rylan12 FYI you closed the issue yesterday, it looks to be a problem still. |
The 404 issues should be fixed (for real) now. I'm still trying to reproduce the cask not found issue. I'll try with The |
@Rylan12 , # Modified to oneliner
export APP="bettertouchtool"; brew readall homebrew/cask || brew untap --force homebrew/cask && brew tap homebrew/cask; rm -rfv "$(brew --caskroom)/${APP:?}" && brew reinstall --cask --force "$APP"
❯ exa --tree -all "$(brew --caskroom bettertouchtool)/.metadata"
drwxr-xr-x - solzard 4 Feb 00:43 /opt/homebrew/Caskroom/bettertouchtool/.metadata
drwxr-xr-x - solzard 4 Feb 00:43 ├── 4.013,2227
drwxr-xr-x - solzard 4 Feb 00:43 │ └── 20230203154329.991
drwxr-xr-x - solzard 4 Feb 00:43 │ └── Casks
.rw-r--r-- 817 solzard 4 Feb 00:43 └── config.json
❯ bat "$(brew --caskroom bettertouchtool)/.metadata/config.json" | jq
{
"default": {
"languages": [
"en-US",
"ja-US"
],
"appdir": "/Applications",
"colorpickerdir": "/Users/solzard/Library/ColorPickers",
"prefpanedir": "/Users/solzard/Library/PreferencePanes",
"qlplugindir": "/Users/solzard/Library/QuickLook",
"mdimporterdir": "/Users/solzard/Library/Spotlight",
"dictionarydir": "/Users/solzard/Library/Dictionaries",
"fontdir": "/Users/solzard/Library/Fonts",
"servicedir": "/Users/solzard/Library/Services",
"input_methoddir": "/Users/solzard/Library/Input Methods",
"internet_plugindir": "/Users/solzard/Library/Internet Plug-Ins",
"audio_unit_plugindir": "/Users/solzard/Library/Audio/Plug-Ins/Components",
"vst_plugindir": "/Users/solzard/Library/Audio/Plug-Ins/VST",
"vst3_plugindir": "/Users/solzard/Library/Audio/Plug-Ins/VST3",
"screen_saverdir": "/Users/solzard/Library/Screen Savers"
},
"env": {},
"explicit": {}
}
❯ brew outdated --cask --greedy-auto-updates --verbose | grep bettertouchtool
bettertouchtool (4.013,2227) != 4.017,2232
|
This is affecting many casks: over the past 2 days, it is affecting: bettertouchtool, whatsapp, obs, warp, signal |
The underlying issue should now be fixed, so you should be able to unset You might need to run |
Verification
--force
.brew update-reset && brew update
and retried my command.brew doctor
, fixed as many issues as possible and retried my command.Description of issue
Trying to upgrade cask
stats
from 2.8.5 to 2.8.6, got errorCask 'stats' is unavailable: No Cask with this name exists.
.Command that failed
brew upgrade --cask --greedy stats
Output of command with
--verbose --debug
Output of
brew doctor
andbrew config
Output of
brew tap
The text was updated successfully, but these errors were encountered: