17

I noticed some packages provided by homebrew-cask uses a url of the latest version and a version number of "latest" such as dropbox and chrome. Thus they will never be upgraded with brew upgrade. Is there any simple way to update such packages using homebrew-cask?

And if I call brew cask install dropbox again, it shows there already exist some cache of old version, which I feel so dumb.

8

Try this command:

brew cask install dropbox --force

Please consider logging a bug over at homebrew-cask about your concerns with updating this kind of cask.

  • 2
    github.com/phinze/homebrew-cask/issues/309, still in discussion – xgdgsc Jan 22 '14 at 11:01
  • is it safe to use? does it cleanly remove the old version while keeping its configuration? – Erik Allik Jun 1 '15 at 6:31
  • @ErikAllik your comment will unlikely to be seen here by the brew cask developers. Please can you start a new question or log a bug with homebrew-cask directly. – Graham Miln Jun 1 '15 at 6:34
0

As of today brew cask does not implement upgrade but there is an open issue that tracks this at https://github.com/caskroom/homebrew-cask/issues/4678

If you want to see it implemented sooner you could add your small contribution by fixing one of the todo items listed there.

0

This has really irked me so I created this script to update all Brew apps and allow the user to choose which Cask apps to update. You can exclude apps from consideration too.

https://github.com/derrekyoung/ScriptsAndUtils/blob/master/brew-cask-upgrade.sh

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .