Skip to content

upgrade to the version that's already installed #501

@c10l

Description

@c10l

Your Environment

  • mas version: 1.8.6
  • macOS version (system_profiler SPSoftwareDataType -detailLevel mini):
System Version: macOS 13.5.2 (22G91)
Kernel Version: Darwin 22.6.0

mas Install Method

brew install mas (homebrew-core)

Describe the Bug

Steam Link is installed on version 1.2.0.
mas sees updated version 1.3.4 available.
mas "upgrades" it to the old, already installed 1.2.0 version.

$ mas outdated
1246969117 Steam Link (1.2.0 -> 1.3.4)
$ mas upgrade
Upgrading 1 outdated application:
Steam Link (1.2.0)

If I uninstall and reinstall, I get 1.3.4 but running upgrade actually downgrades it to 1.2.0.

$ mas install 1246969117
==> Downloading Steam Link
==> Installed Steam Link
$ mas info 1246969117
Steam Link 1.3.4 [0.0]
By: Valve Corporation
Released: 2023-09-12
Minimum OS: 11.0
Size: 55.8 MB
From: https://apps.apple.com/gb/app/steam-link/id1246969117?uo=4
$ mas upgrade
Upgrading 1 outdated application:
Steam Link (1.2.0)
==> Installed Steam Link

To Reproduce

  1. Install Steam Link: mas install 1246969117
  2. Run mas upgrade
  3. Observe the downgrade <- second bug above
  4. Run mas upgrade again
  5. Observe it reinstalling the old, already installed 1.2.0 version <- first bug above

Expected Behavior

mas upgrade installs Steam Link 1.3.4, and subsequent upgrades do nothing as it's already latest.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions