-
-
Notifications
You must be signed in to change notification settings - Fork 11k
Closed
Labels
caskHomebrew CaskHomebrew Caskin progressMaintainers are working on thisMaintainers are working on thisoutdatedPR was locked due to agePR was locked due to age
Description
brew doctor output
❯ brew doctor
Your system is ready to brew.Verification
- My "
brew doctoroutput" above saysYour system is ready to brew.and am still able to reproduce my issue. - I ran
brew updatetwice and am still able to reproduce my issue. - This issue's title and/or description do not reference a single formula e.g.
brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.
brew config output
HOMEBREW_VERSION: 4.0.14-115-g4ddebd9
ORIGIN: https://github.com/Homebrew/brew
HEAD: 4ddebd9bd58d1bac7eadc70c5f48c73676173f09
Last commit: 15 hours ago
Core tap origin: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 15cc58f490ef218e460352ccd00ebf79f35b2491
Core tap last commit: 3 months ago
Core tap branch: master
Core tap JSON: 23 Apr 14:49 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_EDITOR: nvim
HOMEBREW_MAKE_JOBS: 10
Homebrew Ruby: 2.6.10 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/2.6.10_1/bin/ruby
CPU: 10-core 64-bit arm_firestorm_icestorm
Clang: 14.0.3 build 1403
Git: 2.40.0 => /opt/homebrew/bin/git
Curl: 7.87.0 => /usr/bin/curl
macOS: 13.3.1-arm64
CLT: N/A
Xcode: 14.3
Rosetta 2: falseWhat were you trying to do (and why)?
As part of my dotfiles, several formulas and casks are installed and upgraded daily. This is accomplished by calling brew install <formula>. For already installed formulas, the command should issue a warning for an installed formula and upgrade it if it is outdated.
What happened (include all command output)?
With #15273 merged, the behavior for Casks regresses: Now an already installed Casks is a hard error and no longer a mere warning.
What did you expect to happen?
An already installed cask should issue a warning but not be a hard error (with exit code != 0). If the cask is outdated, it should be upgraded. The behavior should be consistent with formulas.
Step-by-step reproduction instructions (by running brew commands)
`$ brew install alacritty`
`$ brew install alacritty`
(Run it twice in case it is not installed.)
Error: Cask 'alacritty' is already installed.
To re-install alacritty, run:
brew reinstall --cask alacrittyReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
caskHomebrew CaskHomebrew Caskin progressMaintainers are working on thisMaintainers are working on thisoutdatedPR was locked due to agePR was locked due to age