Closed kojiromike closed 4 years ago
Similar problem here. brew cask outdated --greedy
shows that an update for Docker is available, but there is no way to install it :(
brew upgrade
does not accept the --casks
flag (check brew upgrade --help
), so please follow the suggestion to use the fully-qualified token which includes the Tap, and run:
brew upgrade homebrew/cask/docker
to upgrade.
brew upgrade does not accept the --casks flag
To be sure, it's --cask
I'm talking about, not --casks
. But just in case, I have opened #90367 because brew cask upgrade
clearly recommends using brew upgrade --cask
, so if that is an invalid command it should not be recommended.
Actually, I was mistaken -- although brew upgrade --help
does not list the --cask
/--casks
flag, man brew
does state that the --cask
/--casks
flag is valid.
Apologies for that.
Related discussion: https://github.com/Homebrew/discussions/discussions/14
awesome, thanks, all!
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
brew upgrade --cask docker
gives this warning:But I think the
--cask
flag makes it unambiguous that the user wants a cask. In most other cases,brew upgrade --cask
does the right thing.Command that failed
Output of command with
--force --verbose --debug
Output of
brew doctor --verbose
Output of
brew tap