mas-cli / mas

:package: Mac App Store command line interface
MIT License
10.81k stars 273 forks source link

🐛 [BUG] App Store GUI sometimes reports apps installed by mas as outdated but mas doesn't #387

Open rgoldberg opened 3 years ago

rgoldberg commented 3 years ago

Your Environment

mas Install Method

Describe the Bug

The App Store GUI reports both Keynote (ID 409183694) & Apple Developer (ID 640199958) as outdated in both the Updates tab & in the Purchased tab of my account tab.

mas doesn't report them as outdated.

The App Store reports the new versions of Keynote as 11.0.1 & Developer as 9.0.1.

I already have these 2 versions installed: 11.0.1 (7030.1.2) & 9.0.1 (901.1.2), respectively.

Either:

This has been going on for a few months, always with the then-latest stable mas & macOS…

To Reproduce

Steps to reproduce the behavior:

  1. Run mas outdated when Keynote 11.0.1 (7030.1.2) & Developer 9.0.1 (901.1.2) are installed. Maybe this problem won't occur on others' computers…
rgoldberg commented 3 years ago

Keynote 11.1 & Developer 9.2 were recently released.

mas upgrade upgraded both according to its output & according to mas list.

The App Store GUI, however, is still offering an upgrade for Developer to 9.0.1, despite showing that the current version is 9.2 (& that it was was released yesterday).

When I run Developer, its version is 9.2 (920.34.2).

I tried to "upgrade" from the App Store GUI, but it failed. I forget the error.

I then uninstalled Developer, then reinstalled it from the App Store GUI, and all seems fine now…

chris-araman commented 3 years ago

This sounds like a bug in the App Store app, not in mas. Unfortunately, I don't think there's much we can do about it on our end. We don't work for Apple.

The next time you see this, please try selecting "Reload Page" from the "Store" menu when the Updates panel is visible.

rgoldberg commented 3 years ago

Yeah. Seemed like an App Store issue, but wasn't sure that mas didn't somehow mess up app installs that somehow caused problems with the App Store. Figured it was better to document this than to just ignore it, even if there isn't really much to be done from the mas side right now.

rgoldberg commented 3 years ago

@chris-araman

A few days ago, the App Store GUI reported a Developer 9.2.1 update as being available.

I used mas upgrade to install that update on the 4th.

The App Store GUI then no longer showed Developer as needing to be updated.

Today (the 6th) the App Store GUI now shows a Developer 9.2.1 update as being available, again.

It shows that it was released 3 days ago (the 3rd).

Menu > Developer > About Developer says it's version 9.2.1 (921.2.2).

I'm not sure if I checked the App Store GUI between the 4th & today, but I know I checked it right after mas installed Developer 9.2.1 to ensure that it was no longer listed in the GUI.

chris-araman commented 3 years ago

@rgoldberg, did the "Reload Page" steps I mention have any effect?

It's possible that Apple released Developer 9.2.1 twice. There have been several updates this week leading up to WWDC.

rgoldberg commented 3 years ago

"Reload Page" didn't do anything.

rgoldberg commented 3 years ago

mas upgrade upgraded Slack to 4.17.0 & Developer to 9.2.2, but the App Store GUI still thinks they can be upgraded to 4.17.0 & 9.2.2, respectively.

The App Store has issues recognizing app upgrades applied by mas upgrade.

I'm running the latest everything on a Mac Mini (Late 2014): macOS 11.4, mas 1.8.2, etc.

orbanbalage commented 3 years ago

I'm on Catalina 10.15.7 (19H1323), mas 1.8.2, and have the same issue.

Tried logging out and in, reloading the Update page, but no change.

I have four updates waiting in the AppStore, mas says there is nothing.

chris-araman commented 2 years ago

I've summarized this in the Known Issues section of the README.