Homebrew-cask: Better instructions for: Cask xxx is unavailable: No Cask with this name exists.

Created on 21 Oct 2019  ·  7Comments  ·  Source: Homebrew/homebrew-cask

Description of feature/enhancement

what i do:

  • brew cask outdated
  • brew cask list

what i see:

brew cask outdated
Error: Cask 'betterzipql' is unavailable: No Cask with this name exists. 

(all?) brew commands fail now

what i expected

  • commands should work normalwly
  • the missing cask should result in an warning but not breaking the command
  • i miss an instruction or an hint or a link to an info page with a "How to resolve" instructions
  • an way to remove the cask / program with the brew command to get brew cask working again

Justification

sometimes there is an cask deleted, and always people start to file an issue about this and they have no clue how to resolve this breaking the workflow

Example use case

betterzipql is removed and now i get the error messages above and can not use the brew command anymore

awaiting maintainer feedback bug

Most helpful comment

similar issues:

  • #73271 Cask 'kdiff3' is unavailable: No Cask with this name exists
  • #72562 brew cask upgrade fails with "No Cask with this name exists"
  • #69369 Error: Cask 'sshfs' is unavailable: No Cask with this name exists.
  • #58352 "No Cask with this name exists." after running resolution for "Token in Header Line" Error
  • #57911 I keep getting Cask 'citrix-workspace' is unavailable
  • #50411 Error: Cask 'hexchat' is unavailable: No Cask with this name exists
  • #49510 Cask 'google-chrome-canary' is unavailable
  • #42527 brew cask list` fails if previously installed but now unavailable cask
  • #40371 Brew Cask Reports "Error: Cask 'avast' is unavailable: No Cask with this name exists." on Every Command
  • #40096 Report "No Cask with this name exists." After uninstall and install jce-unlimited-strength-policy
  • #36387 brew cask list command not work
  • #36164 Error when running brew cask list
  • #36387 brew cask list command not work

All 7 comments

is this issue the right place here or should it go to the homebrew core repo?

similar issues:

  • #73271 Cask 'kdiff3' is unavailable: No Cask with this name exists
  • #72562 brew cask upgrade fails with "No Cask with this name exists"
  • #69369 Error: Cask 'sshfs' is unavailable: No Cask with this name exists.
  • #58352 "No Cask with this name exists." after running resolution for "Token in Header Line" Error
  • #57911 I keep getting Cask 'citrix-workspace' is unavailable
  • #50411 Error: Cask 'hexchat' is unavailable: No Cask with this name exists
  • #49510 Cask 'google-chrome-canary' is unavailable
  • #42527 brew cask list` fails if previously installed but now unavailable cask
  • #40371 Brew Cask Reports "Error: Cask 'avast' is unavailable: No Cask with this name exists." on Every Command
  • #40096 Report "No Cask with this name exists." After uninstall and install jce-unlimited-strength-policy
  • #36387 brew cask list command not work
  • #36164 Error when running brew cask list
  • #36387 brew cask list command not work

when i do brew cask install iterm2 the same issues has

me,too. Cask 'android-platform-tools' is unavailable: No Cask with this name exists.

Please avoid “me too” posts. We’re already aware this is a problem; replies stating “this also happens to me” without extra information don’t bring us closer to a resolution.

Suggest executing brew untap $xxx$ && brew tap $xxx$, where $xxx$ can represent any taps you have trouble with, like homebrew/cask.

I was able to fix my issue by removing directories from /usr/local/Caskroom.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jitendravyas picture jitendravyas  ·  4Comments

gebing picture gebing  ·  3Comments

arnogues picture arnogues  ·  4Comments

my2ter picture my2ter  ·  4Comments

pablopunk picture pablopunk  ·  3Comments