buo / homebrew-cask-upgrade

A command line tool for upgrading every outdated app installed by Homebrew Cask
MIT License
2.39k stars 89 forks source link

The tool is suggesting outdated version as upgradable #219

Closed filippobuletto closed 1 year ago

filippobuletto commented 1 year ago
==> Found outdated apps
       Cask                Current       Latest          A/U    Result    URL
 1/13  alacritty                         0.10.1               [OUTDATED]  https://github.com/alacritty/...
 2/13  apparency                         1.4.1,218            [OUTDATED]  https://www.mothersruin.com/s...
 3/13  blockblock          2.1.5         2.1.4                [OUTDATED]  https://objective-see.com/pro...
 4/13  eclipse-jee                       4.24.0,2022-06       [OUTDATED]  https://eclipse.org/
 5/13  [redacted]
 6/13  kitty               0.26.5        0.26.2               [OUTDATED]  https://github.com/kovidgoyal...
 7/13  onyx                4.2.5         4.2.3                [OUTDATED]  https://www.titanium-software...
 8/13  oversight           2.1.1         2.0.1                [OUTDATED]  https://objective-see.com/pro...
 9/13  parsec              150.85.0      150.84.3             [OUTDATED]  https://parsecgaming.com/
10/13  [redacted]
11/13  [redacted]
12/13  suspicious-package  4.3,996       4.2.1,932            [OUTDATED]  https://www.mothersruin.com/s...
13/13  virtualbox          7.0.4,154605  6.1.38,153438        [OUTDATED]  https://www.virtualbox.org/

Do you want to upgrade 13 apps or enter [i]nteractive mode [y/i/N]?

Is there a way to reset app statuses?

Brew version:

$ brew --version
Homebrew 3.6.12
Homebrew/homebrew-core (git revision 300e18c5160; last commit 2022-09-14)
Homebrew/homebrew-cask (git revision ed44791805; last commit 2022-09-14)

OS Version:

$ sw_vers
ProductName:    macOS
ProductVersion: 12.6.1
BuildVersion:   21G217
yurikoles commented 1 year ago

Your local copy of homebrew/core and homebrew/cask taps is too old, try brew update-reset.

filippobuletto commented 1 year ago

This command is pure magic! Thanks @yurikoles

Now I get this:

==> Found outdated apps
     Cask         Current  Latest  A/U    Result
1/3  alacritty             0.11.0       [OUTDATED]
2/3  apparency             1.5          [OUTDATED]
3/3  eclipse-jee           4.25.0       [OUTDATED]

Do you want to upgrade 3 apps or enter [i]nteractive mode [y/i/N]?

Should i need to reinstall these?

yurikoles commented 1 year ago

Upgrading should be enough, chances that casks were downgraded are very low.

filippobuletto commented 1 year ago

Reinstalling the casks have done the trick, I don't know what happened, I always run brew update but the update-reset was somehow more effective!

Thanks

ondrejfuhrer commented 1 year ago

Yeah, sometimes it starts hanging, there are different reasons always, so hard to pinpoint. But the Homebrew/homebrew-cask (git revision ed44791805; last commit 2022-09-14) might help with that, since last update locally you had in September 🙂 If that's older then few days, there is probably something going on.

I'll close this for now 🙂