mas icon indicating copy to clipboard operation
mas copied to clipboard

`list` does not display some installed apps

Open nhurden opened this issue 5 years ago • 11 comments

Your Environment

  • mas version: 1.6.3
  • macOS version:
      System Version: macOS 10.14.6 (18G87)
      Kernel Version: Darwin 18.7.0

mas Install Method

  • [x] brew install mas (homebrew-core)
  • [] mas-cli/tap
  • [] .pkg installer from releases
  • [] Built from source
    • Fork/branch: ? (e.g. mas-cli/master)
    • Xcode version: 10.?

Describe the Bug

After successfully installing DaisyDisk (411643860) or Paw (584653203), neither appears in the output of mas list. Subsequently brew bundle always reinstalls these even though there is no need to.

To Reproduce

Steps to reproduce the behavior:

  1. Run mas install 411643860
  2. Run mas install 584653203
  3. Run mas list

Expected Behavior

Output of mas list contains DaisyDisk and Paw.

Actual Behavior

Output of mas list is:

904280696 Things (3.11)
425264550 Disk Speed Test (3.2)
409183694 Keynote (9.2.1)
405399194 Kindle (1.26.1)
1116599239 NordVPN IKE (5.2.0)
1287445660 Agenda (9.1.2)
585829637 Todoist (7.2.3)
682658836 GarageBand (10.3.4)
425424353 The Unarchiver (4.1.0)
880001334 Reeder (3.2.3)
409203825 Numbers (6.2.1)
497799835 Xcode (11.3)
409201541 Pages (8.2.1)
408981434 iMovie (10.1.14)
588726889 ReadKit (2.6.3)
1176895641 Spark (2.5.1)
634148309 Logic Pro X (10.4.8)
924726344 Deliveries (3.2.1)
403489261 LittleSnapper (1.8.5)

which doesn't include the two applications just installed.

Additional Context

I'm also using homebrew-bundle with the following mas entries:

mas "Agenda", id: 1287445660
mas "Blackmagic Disk Speed Test", id: 425264550
mas "DaisyDisk", id: 411643860
mas "Deliveries", id: 924726344
mas "Kindle", id: 405399194
mas "NordVPN IKE", id: 1116599239
mas "Numbers", id: 409203825
mas "Pages", id: 409201541
mas "Paw", id: 584653203
mas "ReadKit", id: 588726889
mas "Reeder", id: 880001334
mas "Spark", id: 1176895641
mas "Things3", id: 904280696
mas "Xcode", id: 497799835

mas reset doesn't appear to help.

nhurden avatar Dec 25 '19 06:12 nhurden

I was having the same issue for DaisyDisk, Keynote, MindNode, Numbers, Pages, and Pixelmator. I managed to resolve it by uninstalling the apps in question using LaunchPad, then running brew bundle to reinstall them.

(I'm on macOS 10.15.2)

malob avatar Jan 16 '20 22:01 malob

@nhurden can you check to see whether this issue was resolved in mas 1.6.4? I use both of these apps and get DaisyDisk in the output of mas list:

411643860 DaisyDisk (4.10)

As for Paw, it looks like the old version has been removed from the App Store. So, if you are still using v2, the App Store doesn't know about it anymore. v3 is distributed through paw.cloud, probably because they use their own cloud solution instead of iCloud.

phatblat avatar May 18 '20 13:05 phatblat

I've updated to mas 1.6.4 and macOS 10.15.4 and the issue persists.

I've also tried manually uninstalling DaisyDisk via both the Finder and Launchpad followed by re-installing using mas, but DaisyDisk still doesn't appear in the output of mas list.

nhurden avatar May 23 '20 08:05 nhurden

Which also means that this is possible:

❯ mas install 411643860 && mas uninstall 411643860
==> Downloading DaisyDisk
==> Installed DaisyDisk
Error: Not installed

nhurden avatar May 23 '20 08:05 nhurden

I was having the same issues with Pixelmator and Quiver. I "fixed" it by uninstalling the apps from launchpad and then installing them through MAS.

$ mas install 407963104 && echo && mas uninstall 407963104
==> Downloading Pixelmator
==> Installed Pixelmator

Error: Not installed

Now they seem to work fine..

pridkett avatar May 24 '20 14:05 pridkett

Just and update that I had this same issue again with Slack.

malob avatar Jun 05 '20 23:06 malob

Digging into this issue again and I'm not able to reproduce the issue with the list command, but there's certainly something odd going on here.

Testing with the Slack app which I already had installed on this Mac, it showed in the list output but showed as "Not installed" when I ran the uninstall command.

↪ mas list
803453959  Slack                      (4.8.0)
...
↪ sudo mas uninstall 803453959
Password:
Error: Not installed

Manually uninstalled Slack using macOS Launchpad.

↪ mas install 803453959
==> Downloading Slack
==> Installed Slack
↪ mas list
803453959  Slack                      (4.8.0)
...
↪ sudo mas uninstall 803453959
==> App moved to trash: /private/var/root/.Trash/Slack.app

Uninstall worked the 2nd time.

phatblat avatar Aug 23 '20 19:08 phatblat

Just an update that I had this same issue again with 1Password. Would love to know what's causing this.

malob avatar Jun 06 '21 00:06 malob