-
Notifications
You must be signed in to change notification settings - Fork 274
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
Installation fails if external drive is plugged in #644
Comments
Are you familiar with Xcode enough to debug the mas code to isolate the line on which the error occurs? I guess the last line of mas Swift code in the stack trace when the error occurs would be: mas/Sources/mas/AppStore/SSPurchase.swift Line 63 in 63dc7f1
Did Does the external drive contain any What user owns What file system is used on the external drive? Thanks for any info that might be useful. |
Not sure I would know where to start with Xcode when it comes to debugging a CLI app, I afraid. However:
I think you have hit the nail on the head here. There is indeed a copy of Whatsapp on the external drive. The last time I saw the issue I was trying to install Pixelmator Pro, with the same result. I hadn't twigged it was anything to do with the external drive until today. By the looks of things, this might be related to the fact that apps can now be installed on external drives, as of OS X 15.1. |
Thanks for the info. We tried to limit mas to only looking at apps under mas could output better error messages in the case, but it would require isolating what throws the error. I, however, cannot test this issue because I won’t have Sequoia until the M4 Mac Studios are released, presumably in summer 2025. I assume the WhatsApp app on the external drive isn’t stored under any symlink under Can you provide the owner & permissions for the |
The drive in question is a backup drive I was using to format and reinstall my mac. The applications in question all reside in the The owner of |
Thanks for info. Is there a The error message is from Apple code; it says |
Only with the leading dot, I am afraid. It's essentially the directory structure of a bootable OS X drive. The permissions on the directory are |
Your Environment
mas version
: 1.8.7Kernel Version: Darwin 24.1.0
mas Install Method
brew install mas
(homebrew-core).pkg
installer from releasesDescribe the Bug
Attempting to install a package fails whilst an external hard drive is plugged in. The installer gets all the way through the installation and fails when it attempts to clear up. For some reason, it seems to be trying to move files in to the
.Trashes
directory on the external drive.For example:
Unplugging the drive fixes the issue.
To Reproduce
Plug in an external drive and try to install an app.
Expected Behavior
The app should install without issue.
Actual Behavior
The installation fails, as above
The text was updated successfully, but these errors were encountered: