Skip to content

unable to update WhatsApp Messenger #722

Open
@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

mas version (output of mas version)

1.9.0

macOS version (output of sw_vers -productVersion)

15.3

macOS build (output of sw_vers -buildVersion)

24D60

CPU (output of sysctl -n machdep.cpu.brand_string)

Apple M2

Installation method

Homebrew core (via brew install mas)

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.

prateek@Prateeks-MacBook ~> mas list | grep WhatsApp
310633997   ‎WhatsApp                         (25.1.10)

prateek@Prateeks-MacBook ~> 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)

prateek@Prateeks-MacBook ~> mas list | grep WhatsApp
310633997   ‎WhatsApp                         (25.1.10)

prateek@Prateeks-MacBook ~> 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)

prateek@Prateeks-MacBook ~> 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

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions