GithubHelp home page GithubHelp logo

Comments (5)

bevanjkay avatar bevanjkay commented on June 20, 2024 1

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.

ZhongRuoyu avatar ZhongRuoyu commented on June 20, 2024 1

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.

sincorchetes avatar sincorchetes commented on June 20, 2024

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.

sincorchetes avatar sincorchetes commented on June 20, 2024

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.

Maybe perform:
brew upgrade --casks --greedy (?)

from brew.

bevanjkay avatar bevanjkay commented on June 20, 2024

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.

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.