mas-cli / mas

:package: Mac App Store command line interface
MIT License
10.91k stars 275 forks source link

🐛 [BUG] Can't uninstall Apps #637

Open RixzZ opened 7 hours ago

RixzZ commented 7 hours ago

Your Environment

mas Install Method

Describe the Bug

When trying to uninstall apps (previously installed from the GUI, if that matters somehow), it errors with the following:

Error: Runtime Error: Failed to revert ownership of deleted '/Applications/GarageBand.app' back to uid 501 & gid 20: delete result did not have a URL

To Reproduce

Steps to reproduce the behavior:

  1. Execute sudo mas uninstall 682658836.
  2. Provide password if requested.

Expected Behavior

It should be able to uninstall it.

Actual Behavior

It errors out and apparently does nothing to the app.

Screenshots, Terminal Output

% sudo mas uninstall 682658836
Error: Runtime Error: Failed to revert ownership of deleted '/Applications/GarageBand.app' back to uid 501 & gid 20: delete result did not have a URL

Additional Context

Add any other context about the problem here.

N/A

Did it work in a previous version?

I don't know. Just started using 'mas'.

rgoldberg commented 6 hours ago

@RixzZ Did the app get moved to the trash, or did it remain under /Applications?

RixzZ commented 5 hours ago

It's still in /Applications.