Skip to content

outdated lists latest iOS version instead of macOS version #491

@gmerlino

Description

@gmerlino

Your Environment

  • mas version: 1.8.6
  • macOS version (system_profiler SPSoftwareDataType -detailLevel mini): 13.3.1 (22E261)

mas Install Method

brew install mas (homebrew-core)

Describe the Bug

iOS app versions (mistakenly) being included (and compared) when checking outdated (Mac) apps.

To Reproduce

Expected Behavior

mas outdated should not produce as output:

967805235 Paste (3.1.9 -> 3.2)

Considering there exists no 3.2 version (yet) of the Paste app on the (Mac) App Store.

Actual Behavior

At each invocation of

mas upgrade

Paste (version 3.1.9) will be (re)installed.

By checking with:

mas outdated

I get the following output (before, and as well after, invoking upgrade):

967805235 Paste (3.1.9 -> 3.2)

So I may guess this (unexpected) output to point right at the root cause.

In particular, there is no 3.2 release (yet), as I guess MAS is (mistakenly) checking the versions of the iOS flavour of the same App, as the iOS latest version of the app in the store indeed is at 3.2, and conflating/comparing the versions both from the Mac side and the iOS side. In this case, iOS version (3.2) would be the latest, compared to Mac version (3.1.9) and naturally take precedence, hence being listed among "outdated" apps.

Screenshots, Terminal Output

Additional Context

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions