Skip to content

iTunes Search web API says new app version available when it isnt't, causing upgrade to reinstall existing version #722

@JayaswalPrateek

Description

@JayaswalPrateek

mas config

mas ▁▁▁▁ 1.9.0
arch ▁▁▁ arm64
from ▁▁▁ homebrew/core/mas
origin ▁ https://github.com/mas-cli/mas.git
rev ▁▁▁▁ a5a928a2e6a28a5c751bca7f63f26b06cede8197
driver ▁ 1.115
swift ▁▁ 6.0.2 (swiftlang-6.0.2.1.2 clang-1600.0.26.4)
region ▁ IN
macos ▁▁ 15.3 (24D60)
mac ▁▁▁▁ Mac14,2
cpu ▁▁▁▁ Apple M2

Bug description

Every time I run mas upgrade, it detects WhatsApp Messenger as outdated(25.1.10) and tries to update it to 25.1.83. Even after a successful update, it still finds it outdated in the next run. While the app itself never updates to 25.1.83 and stays on Version 25.1.10 (688756559), yet it detects it as outdated upon every single run and still tries to update it to 25.1.83 and tells it happened successful even though it didn't. It keeps installing the older version again and again on every run.

$ mas list | grep WhatsApp
310633997   ‎WhatsApp                         (25.1.10)

) mas upgrade
Upgrading 1 outdated application:
WhatsApp Messenger (25.1.10) -> (25.1.83)
==> Downloaded WhatsApp Messenger (25.1.10)
==> Installing WhatsApp Messenger (25.1.10)
==> Installed WhatsApp Messenger (25.1.10)

$ mas list | grep WhatsApp
310633997   ‎WhatsApp                         (25.1.10)

$ mas upgrade
Upgrading 1 outdated application:
WhatsApp Messenger (25.1.10) -> (25.1.83)
==> Downloaded WhatsApp Messenger (25.1.10)
==> Installing WhatsApp Messenger (25.1.10)
==> Installed WhatsApp Messenger (25.1.10)

$ mas list | grep WhatsApp
310633997   ‎WhatsApp                         (25.1.10)

Steps to reproduce

$ mas list | grep WhatsApp
$ mas upgrade
$ mas list | grep WhatsApp
$ mas upgrade
$ mas list | grep WhatsApp

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions