Skip to content

Cask docker-desktop definition invalid: conflicts_with stanza failed #20516

@Nepherte

Description

@Nepherte

Verification

Description of issue

Cannot install, uninstall or reinstall docker-desktop. Possibly something to do with Homebrew/homebrew-cask#224407?

Command that failed

brew uninstall docker-desktop

Output of command with --verbose --debug

Error: Cask 'docker-desktop' definition is invalid: 'conflicts_with' stanza failed with: #<Cask::DSL::ConflictsWith:0x0000000166dbf0a8> is not related to #<UnboundMethod: Kernel#odeprecated(method, replacement=..., disable: ..., disable_on: ..., disable_for_developers: ..., caller: ...) /opt/homebrew/Library/Homebrew/extend/kernel.rb:148> - how did we get here?

Output of brew doctor and brew config

$ brew doctor
Your system is ready to brew.

$ brew config
HOMEBREW_VERSION: 4.6.4-79-g00c1ca2
ORIGIN: https://github.com/Homebrew/brew
HEAD: 00c1ca2aacb48e211d9d216505d67154a8ea84bd
Last commit: 31 minutes ago
Branch: main
Core tap JSON: 19 Aug 13:55 UTC
Core cask tap JSON: 19 Aug 13:55 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_EDITOR: vim
HOMEBREW_FORBID_PACKAGES_FROM_PATHS: set
HOMEBREW_MAKE_JOBS: 10
HOMEBREW_NO_EMOJI: set
HOMEBREW_NO_ENV_HINTS: set
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 3.4.5 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.4.5/bin/ruby
CPU: deca-core 64-bit arm_firestorm_icestorm
Clang: 17.0.0 build 1700
Git: 2.50.1 => /opt/homebrew/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 15.6-arm64
CLT: 16.4.0.0.1.1747106510
Xcode: N/A
Rosetta 2: false

Output of brew tap

$ brew tap

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions