mas icon indicating copy to clipboard operation
mas copied to clipboard

`upgrade` all instances of an app ID, not just one (or choose which instances to upgrade)

Open carlosfrodriguez opened this issue 3 years ago • 4 comments

Your Environment

  • mas version: 1.8.6
  • macOS version (system_profiler SPSoftwareDataType -detailLevel mini): 12.3.1 (21E258)

mas Install Method

brew install mas (homebrew-core)

Describe the Bug

Apple Configurator 2 was installed via mas. outdated shows as it is not in the latest version, list shows two Apple Configurator and Apple Configurator 2 both with different versions but same ID, upgrade is not effective .

To Reproduce

$ mas version
1.8.6
$ mas list
1037126344  Apple Configurator 2  (2.15)
1037126344  Apple Configurator    (2.15.1)
$ mas outdated
1037126344 Apple Configurator 2 (2.15 -> 2.15.1)
$ mas upgrade 1037126344
Upgrading 1 outdated application:
Apple Configurator 2 (2.15)
==> Downloading Apple Configurator
==> Installed Apple Configurator
$ mas outdated
1037126344 Apple Configurator 2 (2.15 -> 2.15.1)

Expected Behavior

Only either Apple Configurator 2 or Apple Configurator is listed and can be upgraded correctly

Actual Behavior

Apple Configurator 2 and Apple Configurator are listed as installed, where only Apple Configurator 2 was supposed to... upgrade does not work at all, the package is downloaded installed but mas does not recognize it correctly and apparently it is confused.

carlosfrodriguez avatar Apr 12 '22 17:04 carlosfrodriguez