Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade sometimes doesn't see upgrades until after outdated has been run #485

Open
1 task done
StefanLobbenmeier opened this issue Dec 14, 2022 · 2 comments
Open
1 task done
Labels

Comments

@StefanLobbenmeier
Copy link

Your Environment

  • mas version: 1.8.6
  • macOS version (system_profiler SPSoftwareDataType -detailLevel mini): macOS 13.0.1 (22A400)

mas Install Method

  • brew install mas (homebrew-core)
  • [] mas-cli/tap
  • [] .pkg installer from releases
  • [] Built from source
    • Fork/branch: ? (e.g. mas-cli/main)
    • Xcode version: 10.?

Describe the Bug

When I run mas ugprade, it says that there is nothing to upgrade. I first have to run mas outdated and then run upgrade again so it is able to find the upgrades. It would make more sense if mas upgrade would also check for updates itself, e.g. like brew does

To Reproduce

  1. wait for an update to appear in the app store
  2. run mas upgrade

Expected Behavior

mas upgrade also checks for updates

Actual Behavior

mas upgrade is unaware of updates

Screenshots, Terminal Output

If applicable, add screenshots to help explain your problem.

~/❯ mas upgrade                                                                                                                                                                                                                                                                  
Warning: Nothing found to upgrade
~/❯ mas outdated                                                                                                                                                                                                                                                                 
497799835 Xcode (14.1 -> 14.2)
~/❯ mas upgrade                                                                                                                                                                                                                                                                  
Upgrading 1 outdated application:
Xcode (14.1)
==> Downloading Xcode
------------------------------------------------------------ 0.0% Waiting

Additional Context

Add any other context about the problem here.
Did it work in a previous version?

@dalisoft
Copy link

@StefanLobbenmeier Maybe it's related to #458?

@StefanLobbenmeier
Copy link
Author

Yeah sounds similar, I added a question there to verify

@rgoldberg rgoldberg changed the title 🐛 [BUG] mas upgrade does not run mas outdated 🐛 [BUG] mas upgrade sometimes doesn't see upgrades until after mas outdated has been run Sep 5, 2024
@rgoldberg rgoldberg changed the title 🐛 [BUG] mas upgrade sometimes doesn't see upgrades until after mas outdated has been run 🐛 [BUG] mas upgrade sometimes doesn't see upgrades until after reboot or mas outdated/info has been run Sep 13, 2024
@rgoldberg rgoldberg changed the title 🐛 [BUG] mas upgrade sometimes doesn't see upgrades until after reboot or mas outdated/info has been run 🐛 [BUG] mas upgrade sometimes doesn't see upgrades until after mas outdated has been run Sep 13, 2024
@rgoldberg rgoldberg changed the title 🐛 [BUG] mas upgrade sometimes doesn't see upgrades until after mas outdated has been run upgrade sometimes doesn't see upgrades until after mas outdated has been run Sep 14, 2024
@rgoldberg rgoldberg changed the title upgrade sometimes doesn't see upgrades until after mas outdated has been run upgrade sometimes doesn't see upgrades until after outdated has been run Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants