replicated icon indicating copy to clipboard operation
replicated copied to clipboard

"brew upgrade" suggestion can fail if user has not done "brew update"

Open adamancini opened this issue 11 months ago • 1 comments

I don't think Casks get updated as part of the regular auto-update that occurs during a brew upgrade - I have several times had to explicitly issue a brew update && brew upgrade replicatedhq/replicated/cli to get the CLI package to upgrade.

The suggestion from the binary should probably include something to that effect.

Today:

$ replicated cluster kubeconfig 8d9ae092
Update available: v0.70.0
To upgrade, run "brew upgrade replicatedhq/replicated/cli"

$ brew upgrade replicatedhq/replicated/cli
Warning: replicatedhq/replicated/cli 0.69.0 already installed

Should probably read:

To upgrade, run "brew update && brew upgrade replicatedhq/replicated/cli"

adamancini avatar Mar 13 '24 16:03 adamancini

https://github.com/Homebrew/brew/issues/1946 is closed with no solution

adamancini avatar Mar 13 '24 16:03 adamancini