Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What's the difference between "id: Install" and "id: 0"? #139

Closed
piotr-yuxuan opened this issue Mar 26, 2018 · 6 comments
Closed

What's the difference between "id: Install" and "id: 0"? #139

piotr-yuxuan opened this issue Mar 26, 2018 · 6 comments

Comments

@piotr-yuxuan
Copy link

I noticed a change in my Brewfile:

-mas "macOS High Sierra", id: Install
+mas "Install macOS High Sierra", id: 0

Does it mean the update has been downloaded / installed?

@phatblat
Copy link
Member

phatblat commented Apr 4, 2018

Both look wrong. "Install" is not an app ID and the actual id for "macOS High Sierra" (the name in the Mac AppStore) is 124628474. I'm not sure whether this is a bug in Homebrew or mas, but we may need special handling for OS installers.

@piotr-yuxuan
Copy link
Author

Thanks for you reply. I looked again, now there is another change in the Brewfile generated by brew bundle dump:

-mas "Install macOS High Sierra", id: 0
+mas "macOS High Sierra", id: Install

For what it might be worth, here are some version numbers.

$ brew --version
Homebrew 1.5.14
Homebrew/homebrew-core (git revision 60323; last commit 2018-04-03)

$ brew info mas
mas: stable 1.4.1 (bottled), HEAD
Poured from bottle on 2018-03-23 at 10:26:06

# macOS distro: OS X 10.12.6

@phatblat
Copy link
Member

phatblat commented Apr 5, 2018

I'm fairly certain this is a bug as I just got this when dumping my Brewfile:

...
mas "installed apps found", id: No

The mas list command outputs: "No installed apps found" since I'm not currently signed in. I'm not sure whether this is a bug in mas or homebrew-bundle yet.

@phatblat phatblat added this to the 1.7 milestone Jan 13, 2019
@phatblat phatblat mentioned this issue Mar 30, 2019
9 tasks
@phatblat phatblat removed this from the 1.8 milestone Feb 13, 2021
@rgoldberg
Copy link
Contributor

Can we close this?

See #106 (comment)

@rgoldberg rgoldberg added the 🚪 close? Can we close this issue/PR? label Sep 15, 2024
@rgoldberg
Copy link
Contributor

Is this problem solely for macOS installers, or does it also affect normal apps?

@rgoldberg
Copy link
Contributor

Closing, as this was fixed a long time ago by Homebrew/homebrew-bundle#349.

@rgoldberg rgoldberg closed this as not planned Won't fix, can't repro, duplicate, stale Dec 4, 2024
@rgoldberg rgoldberg removed the 🚪 close? Can we close this issue/PR? label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants