mas-cli / mas

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

🐛 [BUG] has outdated is wrong, where does it's list come from? #499

Closed ryanbooker-anz closed 3 weeks ago

ryanbooker-anz commented 1 year ago

Your Environment

mas Install Method

Describe the Bug

mas incorrectly reports outdated apps.

To Reproduce

Steps to reproduce the behavior:

  1. mas install TestFlight
  2. mas outdated
  3. Note it shows a new version that doesn't exit

Expected Behavior

A clear and concise description of what you expected to happen.

It doesn't show an incorrect version as available

Actual Behavior

A clear and concise description of what actually happened.

It shows what appears to be a phantom version.

e.g. None of these versions exist in the store.

1613020051 Snippet (0.5.3 -> 1.0)
1365531024 1Blocker (4.1.14 -> 5.3.7)
1591303229 Vinegar (2.4.1 -> 2.4.2)
899247664 TestFlight (3.3.0 -> 3.3.2)
caius commented 1 year ago

I'm also seeing this, and can reproduce it when installing mas-cli via the tap as well.

$ mas version  
1.8.6

$ mas outdated 
6444602274 Ivory (1.0.1 -> 1.4.1)

$ system_profiler SPSoftwareDataType -detailLevel mini
Software:

    System Software Overview:

      System Version: macOS 13.4.1 (22F82)
      Kernel Version: Darwin 22.5.0
      Time since boot: 2 days, 2 hours, 18 minutes
caius commented 1 year ago

I wonder if this is a Universal binary issue actually, Ivory works on both macOS and iOS and looking on the App Store page it lists iOS 15.5 as the minimum version yet on macOS it's 13.0 or later. On macOS App Store it shows the latest release as 1.0.1 , but on the iOS App Store it lists 1.4.1 as the latest release.

$ mas info 6444602274  
Ivory for Mastodon by Tapbots 1.4.1 [0.0]
By: Tapbots
Released: 2023-05-23
Minimum OS: 15.5
Size: 107.7 MB
From: https://apps.apple.com/gb/app/ivory-for-mastodon-by-tapbots/id6444602274?uo=4
Screenshot 2023-06-28 at 12 50 47
caius commented 1 year ago

Looks like this is a duplicate of https://github.com/mas-cli/mas/issues/491 and there's a potential fix up at #496

ryanbooker-anz commented 1 year ago

@caius Thanks. It does look like a dupe. I missed that one. FYI, the macOS and iOS versions of Ivory are different apps…

RintaroYamada commented 1 year ago

Hello,

I've encountered a similar issue as described here.

Environment:

Issue: When I run mas outdated, it shows an update for 辞書 by 物書堂 from version 1.2.44 to 1.2.45. However, upon checking the App Store, the latest version available is 1.2.44.

Reproduction:

  1. Run mas outdated.
  2. Observe the reported version discrepancy for 辞書 by 物書堂.

Is there any workaround or solution for this?

Thank you.

rgoldberg commented 1 month ago

@ryanbooker-anz Can we close this as a duplicate of #491?

rgoldberg commented 3 weeks ago

Closing as a duplicate of #491. PR #496 fixed the issue. It will be released in the upcoming version 1.8.7, which is currently in beta.

If you think this issue is different than #491, please let us know.