You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run many brew cask commands, they fail with Error: Cask 'kdiff3' is unavailable: No Cask with this name exists.
$ brew cask upgrade
Error: Cask 'kdiff3' is unavailable: No Cask with this name exists.
$ brew cask upgrade --force
Error: Cask 'kdiff3' is unavailable: No Cask with this name exists.
$ brew cask uninstall kdiff3
Error: Cask 'kdiff3' is unavailable: No Cask with this name exists.
$ brew cask uninstall --force kdiff3
Error: Cask 'kdiff3' is unavailable: No Cask with this name exists.
Command that failed
Output of command with --force --verbose --debug
$ brew cask upgrade --force --verbose --debug
Error: Cask 'kdiff3' is unavailable: No Cask with this name exists.
/usr/local/Homebrew/Library/Homebrew/cask/cmd/abstract_command.rb:55:in `rescue in casks'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/abstract_command.rb:48:in `casks'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/upgrade.rb:20:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/abstract_command.rb:36:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:92:in `run_command'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:158:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:123:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:9:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:102:in `<main>'
Error: Kernel.exit
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:162:in `exit'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:162:in `rescue in run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:146:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:123:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:9:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:102:in `<main>'
This problem existed before I ran brew tap homebrew/homebrew-cask-versions; I then ran that command as suggested in #71595. It didn't help.
This is probably related to #67726; I'm sorry to see kdiff3 go, but it's understandable. This is perhaps the first time I've run brew update and brew cask upgrade since then. At this point, I'd be fine with just removing kdiff3, but homebrew doesn't seem able to follow that command right now.
The text was updated successfully, but these errors were encountered:
Confirmed that rm -rf "$(brew --prefix)/Caskroom/kdiff3" fixes for me, but without this many cask commands fail. Also, brew bundle commands lose all casks (I'm assuming the casks are left out because the cask command failed to return the installed casks to brew bundle).
This seems like a wide-ranging bug, since anyone with a cask installed that is removed from homebrew will experience it.
General troubleshooting steps
--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
Possible duplicate of #71595.
When I run many
brew cask
commands, they fail withError: Cask 'kdiff3' is unavailable: No Cask with this name exists.
Command that failed
Output of command with
--force --verbose --debug
Output of
brew cask doctor
Output of
brew tap
Additional Notes
This problem existed before I ran
brew tap homebrew/homebrew-cask-versions
; I then ran that command as suggested in #71595. It didn't help.This is probably related to #67726; I'm sorry to see
kdiff3
go, but it's understandable. This is perhaps the first time I've runbrew update
andbrew cask upgrade
since then. At this point, I'd be fine with just removing kdiff3, but homebrew doesn't seem able to follow that command right now.The text was updated successfully, but these errors were encountered: