Comments (5)
This is the expected behaviour. brew upgrade
only upgrades casks that don't have auto_updates true
or version :latest
There are flags that can be passed to change this behaviour that you can find by running brew upgrade --help
.
from brew.
Regarding the Docker problem, you may want to add a --cask
flag to brew upgrade
in your script. There is also a formula with the same name which takes precedence over the cask.
from brew.
When I run this one I got this:
bup #My script name
==> Auto-updating Homebrew...
Adjust how often this is run with HOMEBREW_AUTO_UPDATE_SECS or disable with
HOMEBREW_NO_AUTO_UPDATE. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> New Formulae
tartufo
Warning: Treating docker as a formula. For the cask, use homebrew/cask/docker or specify the `--cask` flag.
Warning: Treating mpv as a formula. For the cask, use homebrew/cask/mpv or specify the `--cask` flag.
Error: docker not installed
Error: mpv not installed
Warning: Not upgrading dbeaver-community, the latest version is already installed
Warning: Not upgrading discord, the latest version is already installed
Warning: Not upgrading drawio, the latest version is already installed
Warning: Not upgrading gimp, the latest version is already installed
Warning: Not upgrading inkscape, the latest version is already installed
Warning: Not upgrading iterm2, the latest version is already installed
Warning: Not upgrading microsoft-auto-update, the latest version is already installed
Warning: Not upgrading microsoft-office, the latest version is already installed
Warning: Not upgrading microsoft-remote-desktop, the latest version is already installed
Warning: Not upgrading microsoft-teams, the latest version is already installed
Warning: Not upgrading obs, the latest version is already installed
Warning: Not upgrading openlens, the latest version is already installed
Warning: Not upgrading pritunl, the latest version is already installed
Warning: Not upgrading rectangle, the latest version is already installed
Warning: Not upgrading royal-tsx, the latest version is already installed
Warning: Not upgrading sensei, the latest version is already installed
Warning: Not upgrading slack, the latest version is already installed
Warning: Not upgrading spotify, the latest version is already installed
Warning: Not upgrading typora, the latest version is already installed
Warning: Not upgrading utm, the latest version is already installed
Warning: Not upgrading visual-studio-code, the latest version is already installed
Warning: Not upgrading vlc, the latest version is already installed
Warning: Not upgrading vmware-fusion, the latest version is already installed
Warning: Not upgrading whatsapp, the latest version is already installed
Warning: Not upgrading zenmap, the latest version is already installed
Warning: Not upgrading zoom, the latest version is already installed
==> Upgrading 3 outdated packages:
1password 8.10.27 -> 8.10.28
google-chrome 122.0.6261.129 -> 123.0.6312.59
warp 0.2024.03.12.08.02.stable_01 -> 0.2024.03.12.08.02.stable_02
==> Upgrading 1password
==> Downloading https://downloads.1password.com/mac/1Password-8.10.28-aarch64.zip
######################################################################################################################################################################### 100.0%
==> Backing App '1Password.app' up to '/opt/homebrew/Caskroom/1password/8.10.27/1Password.app'
==> Removing App '/Applications/1Password.app'
==> Moving App '1Password.app' to '/Applications/1Password.app'
==> Purging files for version 8.10.27 of Cask 1password
🍺 1password was successfully upgraded!
==> Upgrading google-chrome
==> Downloading https://dl.google.com/chrome/mac/universal/stable/GGRO/googlechrome.dmg
######################################################################################################################################################################### 100.0%
Warning: No checksum defined for cask 'google-chrome', skipping verification.
==> Backing App 'Google Chrome.app' up to '/opt/homebrew/Caskroom/google-chrome/122.0.6261.129/Google Chrome.app'
==> Removing App '/Applications/Google Chrome.app'
Error: docker not installed
Error: mpv not installed
But it is installed and I can run it.
whereis mpv
mpv: /opt/homebrew/bin/mpv /opt/homebrew/share/man/man1/mpv.1
whereis docker
docker: /usr/local/bin/docker
brew list --casks
1password inkscape obs spotify whatsapp
dbeaver-community iterm2 openlens typora zenmap
discord microsoft-auto-update pritunl utm zoom
docker microsoft-office rectangle visual-studio-code
drawio microsoft-remote-desktop royal-tsx vlc
gimp microsoft-teams sensei vmware-fusion
google-chrome mpv slack warp
from brew.
This is the expected behaviour.
brew upgrade
only upgrades casks that don't haveauto_updates true
orversion :latest
There are flags that can be passed to change this behaviour that you can find by running
brew upgrade --help
.
Maybe perform:
brew upgrade --casks --greedy (?)
from brew.
This is the expected behaviour.
brew upgrade
only upgrades casks that don't haveauto_updates true
orversion :latest
There are flags that can be passed to change this behaviour that you can find by running
brew upgrade --help
.Maybe perform:
brew upgrade --casks --greedy (?)
I would recommend starting with brew outdated --greedy-auto-updates
Then if you're happy with the list, run the same but with upgrade
from brew.
Related Issues (20)
- `==> ` prefix for installation status and/or deprecation status (and possibly others) HOT 1
- portable-ruby-3.3.2.arm64_big_sur.bottle.tar.gz "The use of 'ruby' has been blocked because it comes from an unidentified developer." HOT 6
- Include language package manager (e.g. `cargo`, `npm`, go modules) information in SBOMs HOT 1
- Tap with :latest does not download new application on explicit "update" command. HOT 1
- brew upgrade can actually downgrade casks in some configurations HOT 4
- Autoremove incorrectly removes build dependencies HOT 9
- `brew list` sometimes returns 1 when all arguments are installed HOT 1
- Cannot upgrade redis-stack-server HOT 1
- regression: Exit code is no longer `1` when listing versions of nonexistent formula/cask HOT 1
- Remove most global "monkey-patches" HOT 2
- Add a way to append linuxbrew to the end of path. HOT 3
- Failed to install Homebrew Portable Ruby HOT 11
- Add color to the instructions after install. HOT 5
- `brew cleanup` removes the current version of `portable-ruby` HOT 3
- Import
- redis-stack-server installation failed with redis-stack/redis-stack/redis-stack-server: undefined method `exists?' for class File HOT 1
- `cp: invalid option` when trying to update `zoom` cask
- "brew audit --online" shouldn't check endoflife.date for private taps HOT 1
- homebrew -cask-fonts HOT 2
- iqiyi
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brew.