-
Notifications
You must be signed in to change notification settings - Fork 276
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
AppStore and mas
aren’t in synch, AppStore still shows App as upgradable
#642
Comments
This seems to be the same issue as #387. It's also noted in the README. What are the versions that the Mac App Store reports as being newer than what's already installed? What does each app report its version as when it is running? Get from the menu for the app). After that, the best thing to do is to:
|
mas
aren’t in synch, AppStore still shows App as upgradablemas
aren’t in synch, AppStore still shows App as upgradable
@antoine2711 Did everything work fine after a delay? |
@antoine2711 You almost certainly have multiple instances of the same app installed somewhere under We are limited by the Apple code we currently call to only updating one of the duplicate apps. Simplest current solution is to manually delete the extra app installations from the file system. We'll try to fix updating multiple installations of an app in the future, but it might not be able to be fixed, and we probably won't get to it for a while. See #462 (comment). |
@antoine2711 It looks like all of the problems brought up in this issue are already tracked elsewhere. If that's not the case, please let me know what remains untracked elsewhere. If all tracked elsewhere, please let me know so I can close out this issue as a duplicate. Thanks. |
@rgoldberg : I have never installed twice the same app. In any case, you can see that the name is the same. Now, without going into AppStore, I can’t upgrade an app…
Regards, Antoine |
This probably is occurring because Microsoft changed the name of the app from "Microsoft Remote Desktop" to "Windows App". The solution might be to, in
If that doesn't fix everything, try a dry run of an uninstall to see the paths to all the apps with the same app ID as sudo mas uninstall --dry-run 1295203466 This will NOT uninstall anything. |
@rgoldberg : So, the problem is with Apple’s API, and not our Quick question: could the path also be given by the info command? Like Regards, Antoine |
I assume the latter path doesn't exist on the file system, right? If so, the problem is from the Apple API. Did you try to "Reload Page"? |
So the issue is duplicate apps. Will close. Feature request #462 already exists for the ability to update multiple apps with the same ID. |
Should I write a new issue to have the Can you remove the label “awaiting user reply” and add “duplicate”? Regards, Antoine |
@antoine2711 Thanks for the offer of making an issue, but it shouldn't be necessary because: #660 is an umbrella issue for detecting & potentially fixing odd/bad states for MAS apps. Duplicate app IDs are the first (& so far only) state mentioned in #660. Outputting app paths is included in the issue as an one way to highlight potential underlying issues like duplicate app IDs. #626 is an umbrella issue for refactoring the whole output system (it is somewhat terse, as I wanted to document quickly, and to only include more detail if others really need it). I would like to change specific output (like outputting app paths) only after the whole system has been refactored. I'm the only currently active mas developer, so I don't think we'll need a separate issue for app paths to ensure it's in the task queue as I will work on the larger initiatives, and it's a part of one of them. Before I refactor the output system, I need to:
I also want to discuss various large initiatives (like release & output refactoring) & to establish task priorities with the project lead (who doesn't have much time to work on mas due to other commitments), so it might take time to get to all this. |
@rgoldberg : thanks for taking the time to explain all of this to me. Keep up the good work, and I’ll continue to do my testing. Regards, Antoine |
@antoine2711 Thanks for using mas, and for taking the time to report & investigate issues. If you experience other problems, or have feature requests, please let us know. |
Just a follow-up. I deleted And then, I tried:
I did:
But it’s still in the outdated, and can be forever upgraded. I’ll retry in 24h Regards, Antoine |
@antoine2711 Can you rerun the dry run of the uninstall (because the Apple data source might still think that the app you deleted is still installed)? sudo mas uninstall --dry-run 1295203466 If the deleted path is still listed by that command, you should reload page in the Mac App Store GUI as mentioned above. If not listed, try upgrading after waiting the 24 hours you mentioned. If that doesn't fix it, we'll have to investigate more. |
Well, I deleted the application in the Finder.
I waited 24h, and now, outdated shows me nothing, so I guess it was Apple data source that didn’t realized I deleted the app in the Finder. Regards, Antoine |
Your Environment
mas version
: 1.8.7system_profiler SPSoftwareDataType -detailLevel mini
): 14.7.1mas Install Method
brew install mas
(homebrew-core)Describe the Bug
After upgrading an App with
mas upgrade
, the AppStore still list the App as an upgradable App.To Reproduce
Steps to reproduce the behavior:
mas upgrade
Expected Behavior
AppStore shows the app as updated
Actual Behavior
AppStore still propose to update the App.
Screenshots, Terminal Output
The text was updated successfully, but these errors were encountered: